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

how did the experience of the early colonists shape Americas political and social ideals?
How long does interphase last?
written in simplest form, the expression (x^2)(y^2)-9 over 3-xy is equivalent to 1. -1 2. 1 over 3+xy 3. -(3+xy) 4. 3+xy Please show work
Brittany placed a cold piece of butter on a hot ear of corn. The butter began to melt. The butter melted when it came into contact with the corn because heat wa
Mr Jones has 20,000 to invest. He invests part at 6% and part at 7%, if hr earns 1,280 in interest after 1 year, how much did he invest at each rate.
why did some people treat native americans so badly?
If a fair quarter is flipped 3 times . What is the probability of getting exactly three heads? round to the neast thoudsands.
what was Margaret Brent accomplishments
Solve the following equation 3m^2=3-8m. Find both values
what is 8-4/5f>-14-2f