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

The way that authors structure their sentences and use their words can affect the pace and mood of a text. How would you describe the pace of the following pass
what does magnitude mean
define astrophysics and please give a sentence example...
how did t rex compare in size to utahraptor?
what effect did the capture of fort ticonderoga have on the fighting in boston
what are the great lakes names
how do global winds and ocean currents transfer heat around the world?
Pine Bluff Middle School is having its annual Spring Fling dance which will cost $400 the students transfer report that the dance fund has $75 left
The dimensions of a property are shown in the figure below.How much would it cost to fence in this property if fencing costs $5.00 per foot?        A. $1,925
Which invention or innovation helped produce better iron? a. using coal to smelt iron b. using steam engines c. the bessemer process d. the putting out syst