Write a program to accept a temperature and tell whether water will be in solid liquid or gaseous state
Answers
Answered by
3
Answer:
#include <stdio.h>
void main()
{
int tmp;
printf("Input days temperature : ");
scanf("%d",&tmp);
if(tmp<0)
printf("Freezing weather.\n");
else if(tmp<10)
printf("Very cold weather.\n");
else if(tmp<20)
printf("Cold weather.\n");
else if(tmp<30)
printf("Normal in temp.\n");
else if(tmp<40)
printf("Its Hot.\n");
else
printf("Its very hot.\n");
}
Explanation:
plz plz mark me as a brainiliest plz
Attachments:
Similar questions
Art,
4 months ago
Political Science,
4 months ago
Computer Science,
4 months ago
Math,
8 months ago
English,
11 months ago
Biology,
11 months ago
Physics,
11 months ago