#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"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)