mirror of https://github.com/01-edu/public.git
8d2a02f417 | ||
---|---|---|
.. | ||
README.md |
README.md
🌟 Ultra Venom Speed Control System (RGB)
Instruction
You are writing the cooling controller of your new gaming PC.
Declare a constant variable fanSpeed
of the RPM (revolutions per minute) of your
cooling fan.
Check the provided variable temperature
to define the fanSpeed
value:
- If the
temperature
is above90
define it's value too3200
- If the
temperature
is above70
define it's value too1600
- If the
temperature
is above40
define it's value too800
- otherwhise set it's value to
0