Write a program in java** to accept any 20 numbers and display only those numbers which are prime.
Share
Write a program in java** to accept any 20 numbers and display only those numbers which are prime.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Answer:
number is said to be prime it is divisible by 1 and the number itself . example 31 , 73 , 67........ are prime numbers.