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 children wishes they could get a new horse. Is this a complete and proper sentence?
What is the connotation of the common use of "dialect"?
Could someone explain how you would solve this? I really don't understand it.
Is this statement true or false
Please help Name plane M in another way
what are similarities between the northeast and southeast region?
the word correspondence means A) agreement. B) association. C) connection. D) messages. Elimin
5. Traditional classifications tended to take into account primarily A. extinct organisms. B. RNA similarities. C. DNA similarities. D. visible similarities
why did Missouri request to join the union increase sectionalism
Which of the following answer choices correctly connects the two sentences using an appropriate transitional word or phrase?