The program must accept an integer N as the input. The program must print all the prime numbers from 2 to N [inclusive of N] as output.
Boundary Condition[s]:
2
The program must accept an integer N as the input. The program must print all the prime numbers from 2 to N [inclusive of N] as output.
Boundary Condition[s]:
2