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 arguments were used by the Pope and the emperor in the Middle Ages to justify their superior power over another​
What's a chemical property (kid friendly meaning)
Identify twenty different types of food and discuss how they may be packaged differently for preservation or sale.
The circle Ci, intersects the y-axis at two points, one of which is (0.4).The line y = 2 is a tangent to the circle at (4, 2).(i)Show that the radius of the cir
I need to make a speech about water can I have some help
A woman and a man (who are unrelated) each have two children. At least one of the woman's children is a boy, and the man's older child is a boy. Which is more l
What happens in the city of ember, book 1?
What is the greatest common factor of 30 y 8 +10 y 4 ? 10y^8 20y^2 y^2 10y^4
Find the value of x.m<2= 10x + 10​
Please help click on the picture to see if fullp