Исправьте ошибку в программе
program 1cl;
var a:array[1..50] of integer;
i,j,k,s:integer;
begin
randomize;
for i=1 to 50 do
begin
a(i):=rondom(50)-20;
write(a[i],');
end;
for i:=1 to 50 do;
begin
if a [i]0 then k:=k+1;
if a[i]then s :=s+a[i];
end;
writeln(k=,k);
writeln('s=',s);
readln;
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.