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

Two numbers that add to -4 and multiply to -45.
A solution with a pH of 13.2 would be considered (A) Strongly acidic (B) Weakly acidic (C) Weakly basic (D) Strongly basic
PLEASE REAL ANSWERS WILL GIVE BRAINLIEST!!!! NO LINKS!!!!!
A mattress store in Stafford purchased a mattress at a cost of $255 and marked it up 100%. Later on, Cassie bought the mattress. If the sales tax in Stafford is
how many four digit numbers can be formed without using the digits 5 or 7?
plz help !!!!! I beg of you
Which pair of slides contains cells that resulted from meiosis
Arithmetic and Geometric SequencesWhen an object is dropped from a tall building, it falls about 16 feet in the first second, 48 feet in the second second, and
PLEASE HELP LAST TIME TODaY TY!!!
HELP PLS AND THANK U FAST PLS <3