Dr. A.P.J. Abdul Kalam Technical University (AKTU), Lucknow
40. Write a program to print all the prime numbers, between 1 to 100 in file prime.txt.
Sample Input and Output
Input file path: prime.txt
File prime.txt saved.
2 thoughts on “Write a program to print all the prime numbers, between 1 to 100 in file prime.txt.”
Site not working properly the code not shown full only some line are shown and on scrolling it doesn’t work
Dear Ankit Singh,
Thank you for the information. We will update it soon. Meanwhile, you are requested to try another browser.