Computer Science, asked by nikhildaliya, 8 months ago

Write an Algorithm to input city name, its maximum and minimum temperature. Calculate the Average temperature. If Average temperature is less than 30 then print the sum of maximum and minimum temperature else print their difference.​

Answers

Answered by sbhslvm
3

Answer:

Write a C program to read temperature in centigrade and display a suitable message according to temperature state below.

Temp < 0 then Freezing weather

Temp 0-10 then Very Cold weather

Temp 10-20 then Cold weather

Temp 20-30 then Normal in Temp

Temp 30-40 then Its Hot

Temp >=40 then Its Very Hot

Answered by 12345dhruvop
0

Explanation:

hindi dmsn no snsnnawnsk ek rh rh web urgent

Similar questions