Что выдаст программа, если ввести следующие числа 4
12
14
15
24
program m1;
var i,n,a,min:integer;
begin
readln(n);
min:=30000;
for i:=1 to n do
begin
readln(a);
if (a mod 10 =4) and (a min:=a;
end;
writeln(min);
end.
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Copyright © 2024 SCHOLAR.TIPS - All rights reserved.