You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

535 B

🌟 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 above 90 define it's value too 3200
  • If the temperature is above 70 define it's value too 1600
  • If the temperature is above 40 define it's value too 800
  • otherwhise set it's value to 0