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

Jill purchased fruit juice boxes for a party . She purchased 1 case of 44 boxes and several packs containing 4 boxes each.Let p represent the number of 4-box pa
Which of the Five Pillars of Islam do you think would be most difficult to peform? Why?
6. Which statement has been proven true of children of adolescent parents? (Points : 1) They have lower IQs. They are less connected to their parents. They have
Each term in Pattern G is 6 times greater than the corresponding term in Pattern H. What is the rule for Pattern G? Plz help......
Harry needs £400 to buy a new computer. He has saved £160 so far. What percentage has Harry saved
What are the five seas that are apart of Asia ?
Which was a weakness of the Articles of Confederation? A. The central government had too much power over people's lives. B. The state governments lost most of t
What is 0.1 repeating as a fraction?
How do I apply the change of base formula to y=log (sub 3) x
How to write 7/8 as a percent