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

what is 2.5 x 10 to the 2nd power
What is the kinetic energy of an object that has a mass of 30 kilograms and moves with a velocity of 20 m/s? A. 12,000 J B. 6,000 J C. 2,940 J D. 5,880 J
how was the French colony in north American unlike British colonies
What is 30 minutes as a percentage of an hour?
There is 1/4 ounce of yeast in every 2 1/4 teaspoons of yeast. A recipe for bread calls for 2 teaspoons of yeast. How many ounces of yeast are needed for this r
almira earns 50$ an hour. how much does she earn in 6 hours
Who claims the territory of Kashmir? A. India B. Burma C. India and Pakistan D. Great Britain and Iran
The _______ demanded that Latin American countries keep their financial affairs on order or risk intervention by the United States. A. Good Neighbor Policy B.
Which sentence is a fragment? When driving. I sing in the shower. Dance in the dark. I closed my eyes.
In 1939, Germany and the Soviet Union signed a non-aggression pact in which they agreed to divide up