Нарисуйте блок схему:
var N, product: longint;
digit: integer;
begin
readln(N);
product := N mod 10;
while N >= 10 do
begin
digit := N mod 10;
product := product*digit;
N := N div 10;
end;
writeln(product);
end.
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.