Problem Statement 2
Write a program to display the prime numbers below a given number.
SAMPLE INPUT
Enter a number:
10
SAMPLE OUTPUT
2 3 5 7
Sample Program:
Sample Output:
Enter the value for generate prime numbers upto wish:
10
2357
Any queries leave a comment please and thanks for reading this post.