Computer Science, asked by poojadubey3000, 4 months ago

3.Write a menu driven program to display
all prime and non prime numbers from 1 to
100.Enter 1: to display all prime numbers
Enter 2: to display all non prime numbers. A
number is said to be prime if it is divisible
only by 1 and the number itself.

Answers

Answered by soundharrajan23
0

Answer:

write a program that display all the prime numbers between 1 and 100. prime number means the number can divisible to one and the number itself.

Similar questions