October 2021 1 20 Report
Предоставлен рекурсивный алгоритм:
procedure F(n: integer);
begin
writeln(n);
if n < 5 then
begin
F(n + 3);
F(n * 3)
end
end;
Определите и напишите сумму чисел, которые будут выведены при вызове F(1).
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.