Составить программу для вычисления cos1 + cos2 + cos3 + …+ cos30.
var S: real; i: integer;begin for i := 1 to 30 do s := s + cos(i); writeln(s);end.
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
var
S: real;
i: integer;
begin
for i := 1 to 30 do
s := s + cos(i);
writeln(s);
end.