Computer Science, asked by rinkikumari23837, 11 months ago

accept a number and display the number is prime number or not​

Answers

Answered by neerajyadav0221
0

The number which is only divisible by itself and 1 is known as prime number, for example 7 is a prime number because it is only divisible by itself and 1. This program takes the number (entered by user) and then checks whether the input number is prime or not. The program then displays the result.

Similar questions