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

Which statement best describes the United States' changing role in the world during the twentieth century?
In a short paragraph, describe the transition of Rome form a republic to an empire. What was the republic like, and what caused it to become an empire. Please h
write a ratio to represent the scale used in the drawing
confused someone help
candy or chungus is the big toaster babie
What is the discriminant of 9x^2+2=10x^2
Write an algebraic expression for “12 less than the quotient of 12 and a number z.”
which of the following steps is not likely to take place during cellular respiration
Mí padre está a diet; le ___ quince libras por perder ( to lose ). A.importa B.quedan C.queda D.importan
What is the linking verb in the following sentence? Last night, Grant felt very warm​