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

Turn in one photograph for each of the following: Take a photograph in which the subject (person, building, tree, etc.) is along one of the two vertical lines.
do teachers receive notifications when you unenroll from a class?
ALL men are created equal and have rights that cannot be taken away by anyone. The introduction and the purpose of the document. Preamble Grievances Declaration
find the value of x for the given sqaure
What were the provisions of the final Bursum Bill?
what are your opinions about this image
which of these steps comes first in the boot process
10) Solve for x. 4x^2 + 16x - 48 = 0
what is the slope of 12,-10 and 15,-8
hildegard of bingen was born into a _____ noble family.