answersLogoWhite

0


Best Answer
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

11y ago
This answer is:
User Avatar

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
Related questions

How do write Elevan Million in numbers?

11000


How do you write the pseudo codes that will accept 7 numbers and display their sum?

Start accept 7 number calculate sum print sum stop


How do you write 11000 in roman?

Expressed in Roman numerasl 11000 is (XI) which means 1000*11 = 11000


How do you write 11000 on a check?

Eleven Thousand and 00./100 cents.


How to write 11 thousand?

11000


How do you write a program to read set of numbers using by an array and display the ascending order of the given input numbers?

To write a C++ program to display the student details using class and array of object.


How do you write the number 11000 on check?

Eleven thousand


How to write 11000 in roman?

Roman Numeral for: 10000= X with horizontal bar above it 1000=M Therefore: ............_ 11000= XM


How do you write 11000 in scientific notation?

1.1 x 10^4


How do you write a Qbasic program to display these Numbers-0112358132134?

you do this 10 print "0112358132134" use the whole of the thing


How can i write pseudo code for C plus plus if i haven't even wrote the program yet?

You are going about this backwards. First, define the program. Second, describe its algorithm. Third, if needed, write pseudo code. (Sometime, algorithm and pseudo code is the same process.) Fourth, or third, write real code.


How does pseudo code operate?

It doesn't. Pseudo code isn't a programming language, it is just there to give an idea of how you could write a program.