определите назначение программы:



program Hello;
const N=10;
var A: array[1..N] of integer;
I: integer; S:real;
begin
for I:=1 to N do read(A[i]);
S:=0;
for I:=1 to N do
if A[i] mod 2=0 then S:=S+1;
S:=S*100/N;
writeln(S)
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.