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

Draw an area model, and then solve using the standard algorithm. 2 4 × 2 1 ill give brainist
Which is biotic? wind iron gate sunlight leaf
Lisette, qu’est-ce qu’on ce soir
Which two words from the article are the closest antonyms? A Correct and wrong B Respect and protect C Largest and big D Audience and public
A high school student refuses to participate in the Pledge of Allegiance at the beginning of the school day. A teacher screams at the student and says that the
how does it feel to be free from discrimination and injustices? ​
Which gas is increasing and what effect does it have on the earth?​
What is the answer to this question for U.S History class?
Do you think that M Loisel’s ineptitude in dealing with the materialistic cravings of his wife contributed to their downfall?
HELPPPPPPPPPPPPPPPPPP