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 PrimeNum that uses a loop to do the following:
prompt the user for an integer great than eg inputNum
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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
