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 classmates, Troy and Mason, plan to meet in the computer lab to type up their research papers. Troy can type at a speed of 2 pages per hour, whereas Mason c
Is ice on a plate a physical or chemical change?
What was true of the government under the Roman Empire? The government was ruled by small warrior bands. The government was ruled by wealthy citizens. The gover
IN YOUR OWN WORDS How is the cube root of a number different from the square root of a number?​
D 9 CD = [?] A 3 B 3 C Enter the number that belongs in the green box.
i really need help.......
Do you think crystals formed in conditions that were stable or did they change often?
how does mutation affect the outcome of a population in terms of Evolution.
Please help :(((((((
A 45 ​- inch pipe is cut into two pieces. One piece is times the length of the other. Find the length of the shorter piece.