Write a program to ask user to enter value for temperature


Write a program that uses is and else or if and elsif conditional statements)that asks the user to enter a value for temperature.

Depending on the temperature given by the user display using the ''disp'' command the following:

if the temperature is greater that display 'temperature dangerously high'

.if the temperature is greater that 99.5 and less than or equal to 103 display 'temperature slightly high'

.if the temperature is greater or equal to 97.5 but less that or equal to 99.5 display 'temperature normal'....

if the temperature is less than 97.5 display ' temperature below normal'

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Write a program to ask user to enter value for temperature
Reference No:- TGS0737796

Expected delivery within 24 Hours