Koihoina
Koihoina Koihoina
  • 01-06-2022
  • Computers and Technology
contestada

Write an algorithim and flowchart to check it the temperature is more than 25°. If it more than 25°C switch fan on else off.​

Respuesta :

felipegomes220
felipegomes220 felipegomes220
  • 02-06-2022

Answer:

write the sly flowchart

Explanation:

#stdlib.etc

main()
{

    int temp;
    bool fan = false;

    print("enter the frigin temperature: ");

    read(temp);

    if (temp > 25)

     {
         fan = true;
         print("the fan is on");
     }
     else
      {

           print("the fan is off");

      }

      return 0;

}

Answer Link

Otras preguntas

I NEED HELP ASAP(10 PTS) Convert 330 grams to ounces note there are 454 grams in a pound A) 1.16 ounces B) 1.17 ounces Nor this one. C) 11.6 ounces D) 11.7 ou
help please thank you
Which revision best improves the formality of the paragraph? using the contraction “aren’t” for “are not” in sentence 1 breaking up sentence 2 into several shor
Parallel structure uses different tense within verb structure. one of five key structure words. the same tense and structure. detailed driving directions in
Solve the equation N/10+7=10
A number multiplied by 12 is equal to the sum of the square root of that same number and 36. What is that number?
Simplify. - 4 (3 -1) + 2
Question number 1 they are asking for highest possible theoretical temperature?
Which situation is the best example of a hero's inner conflict? 20 PTS FOR THE FIRST ONE TO ANSWER IT!!!
Someone please help I’m stuck!