#include<stdio.h>
#include<conio.h>
#define PONG printf
#define LORO scanf
int main()
{
int temp;
PONG("Enter temperature: ");
LORO("%d",&temp);
if ( temp < 20 )
{
PONG("IT'S COLD!");
}
else
if ( temp > 30 )
{
PONG("IT'S HOT!");
}
else
{
PONG("COOL CLIMATE!");
}
getch ();
return 0;
}

0 comments:
Post a Comment