Section-F: Subject Related Questions (Qs. 10-24)

Write a program in any language to find the prime numbers between 1.. n, where n is taken as user input.

Sample input:

Enter value of n: 20

Sample Output:

Prime Numbers: 2, 3, 5, 7, 11, 13, 17, 19,

Created: 3 months ago | Updated: 2 months ago

Related Questions