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

29 Which compounds are classified as Arrhenius acids?(1) HCl and NaOH (2) HNO3 and NaCl (3) NH3 and H2CO3 (4) HBr and H2SO4
In contrast to realism, naturalism in literature a. ignores the influence of romanticism. b. portrays life exactly as it is, without ornamentation. c. uses s
What is the relationship between the 4s in 8,444?
Explain the importance of ahimsa
Which relationship can best be described as causal? (1) The alarm goes off and the sun rises. (2) The car is moving slowly and the driver is singing. (3) The sn
What is Pax Romana and Athenian Golden age impact on the modern world
how is the membrane surface area increased within cells and organelles
which postmortem parameter is fixed by 8 hours?
what is the definition of states of matter
Choose all that apply. History is the interaction between _____. people companies environment civilizations ideas