21 lines
306 B
C
21 lines
306 B
C
#include <stdio.h>
|
|
#include <Windows.h>
|
|
|
|
int main()
|
|
{
|
|
SetConsoleCP(1251);
|
|
SetConsoleOutputCP(1251);
|
|
|
|
int t;
|
|
printf("òåìïåðàòóðà = ");
|
|
scanf_s("%d", &t);
|
|
|
|
if (t < 18) printf("õîëîäíî");
|
|
else if (t < 22) printf("ïðîõëàäíî");
|
|
else if (t < 26) printf("òåïëî");
|
|
else printf("æàðêî");
|
|
|
|
return 0;
|
|
}
|
|
|