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

Need answers fast help
C, is y=-3x+2, and B, is y=-1over3x-2 PLEASE HELP
In the following neutralization reaction, which substance is the acid? HCl + NaOH d NaCl + H2O A. HCl B. NaOH C. NaCl D. H2O
what does melancholy mean in carrying your own Skis when she says that skiing was work
A ship is moving with a constant acceleration of 36km/hr2 in a fixed direction speeds up from 12 km/hr to 18km/hr. Find the distance traveled by the ship in thi
Explain the effects of nh3 and hcl on the cuso4 solution in terms of
which if the following is the equation of a line that passes through the points (2,5) and (4,3)
How much heat is required to vaporize 33.8 g of water at 100 degrees Celsius
I'm not really good at math, so can someone answer this for me?
what type of measurement is the speed of a car travelling in reverse