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

15 lines
276 B
C
Raw Normal View History

#include <stdio.h>
#include <math.h>
#include <Windows.h>
void main() {
SetConsoleCP(1251);
SetConsoleOutputCP(1251);
int n = 5000;
int g = 2024;
do {
printf_s("<EFBFBD> %d <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> %d <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> \n", g, n);
n = (n * 103) / 100;
g = g + 1;
} while (g <= 2040);
}