write a pseudo code for a program which generates even numbers between 1000 and 2000 and then prints them in the standard output.it should also print total sum.
Start
Declare Real totalSum
Set totalSum=0
for i=1000 to 2000
if i mod 2 = 0 then
totalSum+=i
Display i
end if
end for
Display totalSum
Stop
Comments
Leave a comment