Write a program to store the all the prime number from 1 to 1000 in to a file using objects. Read all the prime numbers store | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Write a program to store the all the prime number from 1 to 1000 in to a file using objects. Read all the prime numbers store

Write a program to store the all the prime number from 1 to 1000 in to a file using objects. Read all the prime numbers store in the file and return their sum.

13th Nov 2021, 8:39 AM
Kamalesh Ray
3 Answers
+ 6
Kamalesh Ray , can you please share your code so that we can see where you get stuck? thanks!
13th Nov 2021, 9:02 AM
Lothar
Lothar - avatar
0
I have code for only print the prime from 1 to 1000
13th Nov 2021, 9:12 AM
Kamalesh Ray
- 1
I don't have a code
13th Nov 2021, 9:12 AM
Kamalesh Ray