Write a program that asks the user for whole integers. Read the input. Check if it is
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a program that asks the user for whole integers.
Read the input.
Check if it is a positive integer number. keep on asking the user for a positive integer number till the user gives you a positive integer number. Make sure you catch the characters.
Check if the variable is a prime number, display your answer with the corresponding validation as shown on the sample executable file.
Related Book For
Posted Date: