В 11-й день
Объяснение:
Python:
day, today = 10, 1
while day < 25:
day *= 1.1
today += 1
print(today)
Pascal:
var
today: integer;
day: real;
begin
day := 10;
today := 1;
while day < 25 do begin
day := day * 1.1;
today := today + 1;
end;
writeln(today);
end.
В 11-й день
Объяснение:
Python:
day, today = 10, 1
while day < 25:
day *= 1.1
today += 1
print(today)
Pascal:
var
today: integer;
day: real;
begin
day := 10;
today := 1;
while day < 25 do begin
day := day * 1.1;
today := today + 1;
end;
writeln(today);
end.