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

26. Which of the following diagrams show a pair of corresponding angles?
A.6.10B.90C.6.006.20​
Joe wants his overall test average to be 85%. What score would he need on his next test if the test scores he has so far are: 70%, 105%, 75%, 90%, 90%?
true or false almost all cells have a nucleus
what is job context with examples​
which sentence uses a semicolon correctly? a) out of thirty students; only eight students got A’s b) the entire class of thirty students; studied hard for the
Jena is using a drawing to show how the greenhouse effect works. She uses arrows to depict the movement of radiation from the sun, through space, and through th
PQ and QR are 2 sides of a regular 12-sided polygon. PR is a diagonal of the polygon. Work out the size of angle PRQ. You must show your working.
How does masturbation affect one's health?
How many parts of speech does the English language have? A. Ten B. Six C. Seven D. Eight