Question: Write an application named PrimeNum 1 that uses a loop to do the following: 1 . prompt the user for an integer great than 1

Write an application named PrimeNum1 that uses a loop to do the following:
1. prompt the user for an integer great than 1(e.g., inputNum=100)
2. determine and display if the number (inputNum) is a prime number or not

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!