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 have these properties. Both numbers are greater than 6. Their highest common factor (HCF) is 6. Their lowest common multiple (LCM) is 60. Find the t
Joe mowed 1 1/2 lawns in 2 1/2 hours. How many lawns can Joe complete in 6 hours?
DUE TODAY PLEASE HELP.....WILL GIVE BRANIST!!!!!!! Instructions: Create a comic strip detailing the adventure of your character as the character is exposed to t
Why was protecting Religious Freedom important back then? How do you know?
What’s the literary device "Nineteen sixty-three is not an end, but a beginning." "I Have a Dream" by MLK, Jr.
graph the equation. y-4=-5x(x-1)​
Find f(-5) if f(x) = 5x + 11. A) 4 B) 5 C) 6
What is a way of moving electricity along a path called? * battery circuit static electricity electrons
Please help me with this question!!!
HELPP I don’t understand