August 2022 1 12 Report
program ggl;
var  n, i, sum : integer; 
 a : array [1..1000] of integer;
begin  readln (n);
  sum := 0;
  for i := 1 to n do  begin 
  a[i] := random (100);   
write (a[i], ' ');   
 sum := sum + a[i]; 
end; 
writeln; 
write (sum / n);
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.