vari,sum :integer;beginsum:=0;for i:=1 to 99 doif i mod 2<>0 then sum:=sum+i;writeln ('sum=',sum);end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
var
i,sum :integer;
begin
sum:=0;
for i:=1 to 99 do
if i mod 2<>0 then sum:=sum+i;
writeln ('sum=',sum);
end.