answersLogoWhite

0

loop i from 0 to num

check if num mod i equals 0

break

else

sum = sum + num


end the loop


print the sum

User Avatar

Wiki User

12y ago

Still curious? Ask our experts.

Chat with our AI personalities

LaoLao
The path is yours to walk; I am only here to hold up a mirror.
Chat with Lao
RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa
EzraEzra
Faith is not about having all the answers, but learning to ask the right questions.
Chat with Ezra

Add your answer:

Earn +20 pts
Q: Write a pseudo code to display prime numbers from 1-1000?
Write your answer...
Submit
Still have questions?
magnify glass
imp