kadnichanskaya/населеие 1/FileName.c

26 lines
527 B
C
Raw Permalink Normal View History

2024-11-18 22:09:39 +04:00
#include <stdio.h>
#include <math.h>
#include <Windows.h>
/*<2A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> 2024 <20><><EFBFBD><EFBFBD>*/
void main() {
SetConsoleCP(1251);
SetConsoleOutputCP(1251);
int sum;
printf_s("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD>.<2E><><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, 2.600.000 = 2.600) = ");
scanf_s("%d", &sum);
if (sum <= 2000) {
printf_s("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
}
if (2000 < sum && sum <= 3000) {
printf_s("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
}
if (3000 < sum && sum <= 4000) {
printf_s("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
}
if (4000 < sum) {
printf_s("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
}
}
//printf_s("Hello world");