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

x squared over 16 -1/1 divided by x/8 - 1/2 =
1700000000 nm in scientific notation
Which group believed in broad overarching powers for congress? (1 point) liberal constructionists radical constructionists strict constructionists conservative
Most linguists agree on a total of______basic sentence patterns for the English language. A.12 B.7 C.6
what is the work for 32% of 4
HELP!!!! What is the theme of the story, "The Fun They Had", by Isaac Asimov????????????
select the sentence using two negatives to convey a positive message. the dog was not unfriendly. the dog was hardly not friendly.
why there wont be another Einstein
who created farming?
Through its committees congress ensures that the executive branch agencies are following the laws that it passed. What congressional process is this describing?