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

example of internal conflict? Millicent struggles with her motivation for joining the sorority. Millicent struggles with her tasks during her sorority initiatio
At which latitude does the Earth receive the greatest intensity of insolation on June 21?
how long does it take to become a windows worker
if you were at a amusement park what do you think you would see, hear, smell, taste, and feel
how is Nuclear decay used in life
can parasites live without a host?
What is the similarity ratio of the smaller to larger similar cylinders? smaller cylinder d=12 height=20 larger cylinder d=18 height=30
Identify the sentence with the correct verb. A. The tourists had got on the wrong bus. B. The tourists had gots on the wrong bus. C. The tourists had gotten o
Write the first five terms of the arithmetic sequence. a4 = 22, a10 = 64
Find the value please