program ManhattanIsland;
varinitialAmount, currentAmount: real;growthRate: integer;currentYear: integer;
begininitialAmount := 20;growthRate := 5; // Примерный процент приростаcurrentYear := 2022;
currentAmount := initialAmount;repeatcurrentAmount := currentAmount * (1 + growthRate / 100);currentYear := currentYear + 1;until currentYear = 2022;
writeln('Сумма на текущем счету через несколько лет: ', currentAmount:0:2);end.
program ManhattanIsland;
var
initialAmount, currentAmount: real;
growthRate: integer;
currentYear: integer;
begin
initialAmount := 20;
growthRate := 5; // Примерный процент прироста
currentYear := 2022;
currentAmount := initialAmount;
repeat
currentAmount := currentAmount * (1 + growthRate / 100);
currentYear := currentYear + 1;
until currentYear = 2022;
writeln('Сумма на текущем счету через несколько лет: ', currentAmount:0:2);
end.