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

what is x if f(x)= 600
what is the equation of the line shown in this graph? ​
the sum of three numbers is 148. the second number is 10 more than the first. the third number is 4 times the first. what are the numbers?​
Your teacher wants to see if you can guess your two quiz grades. She tells you that the second quiz grade is 21 points higher than the first quiz grade. She als
Factor the polynomial 6x^3 + 9x^2 + 4x + 6
Jason believes that intelligence can be possibly measured by an individual’s sensory capacities. He also believes that a higher level of sensory function is ass
A company purchases a machine for $12,000. The estimated residual value is $4,000. The machine has a useful life of 5 years, and is expected to produce 20,000 u
Please help it would be much appreciated :)
What does 2( 1 3/4)+ 3/5 equal
describe the function of ribsome