mirror of
https://github.com/Kaehvaman/OAIP.git
synced 2025-01-18 16:49:11 +04:00
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;
|
|
}
|
|
|