Get started with 60 Hours of Free course right now 

Find all Prime number till a Given Number

Suraj Ghimire
40 Posts

WAP to take an input from the user and find out all the prime number till that number.

If Input=100,

All prime numbers are 2,3,7,11,17,19...97

Published By : Suraj Ghimire
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

Comments