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 best describes a difference between prokaryotic cells and eukaryotic DNA? A. Prokaryotic DNA is double stranded; eukaryotic DNA is single stranded. B. E
Why is branding an important part of a successful franchise?
The library question please, and can u please explain, I’ll give many points
A particular style of jacket costs the retailer $85 per jacket. At what price should the retailer mark them so he can sell them at a 15% discount off the origin
help help help spanish
A helium balloon has a volume of 500ml at stp. What must the temperature be, in °c if the volume increased to 750 ml and the pressure decreased to .5 atm
Lincoln’s focus in the Gettysburg Address was to
​Solve for x. −2(x+1/3)+9x=4 ​ ​Enter your answer in the box. x =
Ken purchased 100 pencils for $4.00 . What’s the unit rate
what was the purpose of the second continental congresss