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

the graph below shows the distribution of students grades on their last math test. Based on the Empirical rule, what percent of students made.. *btwn 80 n 85 o
How many hours are 180 minutes
Hassan's backyard swimming pool is 30 feet long, 20 feet wide, and 5 feet deep. There are 7.5 gallons of water in 1 cubic foot. How many gallons of water will t
Which ancient civilization is associated with the Twelve Tables, an extensive road system, and the poets Horace and Virgil?
where does the shadow of the shuttle in space form?
Which characteristic is shared by sonnets and haiku?
Hello, I need help please for mission 3 thank you very much.
Which characteristic is shared by sonnets and haiku?
how can bureaucratic personality be dangerous
Convert the general form of the circle given into standard form. 2x^2 + 2y^2 - 20x - 8y + 50 = 0