OAIP_Mirror/geany/lab3-3.c

21 lines
306 B
C
Raw Normal View History

2024-10-21 17:04:00 +04:00
#include <stdio.h>
#include <Windows.h>
int main()
{
SetConsoleCP(1251);
SetConsoleOutputCP(1251);
int t;
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> = ");
scanf_s("%d", &t);
if (t < 18) printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
else if (t < 22) printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
else if (t < 26) printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
else printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
return 0;
}