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

Which of the following was an advantage held by the Patriots during the Revolutionary War? A. A larger population B. Large manufacturing capacity
A rectangular board is 1.8 meters long and 1.5 meters wide. What is the area of the board in square millimeters?
9 - 12n 2 + 4n 3 - 7n
answer correctly for brainliest
Compared with the articles of confederation, federalism under the constitution has led to:
Select the correctly written sentence. If no sentence is correct, select "none of the above." Question 1 options: After calling her mom, cooking dinner, and fin
. Which of the following is the correct format for an MLA in-text citation for an article with no known author? A. (Title page) B. ("Title" page) C.
Use the the factor theorem to determine wether the first polynomial is a factor of the second. X-3; 2x^2-4x+30
All sources of pollution come from human activities.
Write the equation is logarithmic form 33 = 27 A. log 27 = 3 B. log327=27 C. log327 = 3 D. log 27 = 3 · 3