15 lines
276 B
C
15 lines
276 B
C
#include <stdio.h>
|
|
#include <math.h>
|
|
#include <Windows.h>
|
|
|
|
void main() {
|
|
SetConsoleCP(1251);
|
|
SetConsoleOutputCP(1251);
|
|
int n = 5000;
|
|
int g = 2024;
|
|
do {
|
|
printf_s("â %d ãîäó íàñåëåíèå áûëî %d ÷åëîâåê \n", g, n);
|
|
n = (n * 103) / 100;
|
|
g = g + 1;
|
|
} while (g <= 2040);
|
|
} |