Question: You are asked to write a program that checks for the users input. The user will enter a number for test cases (how many times

 You are asked to write a program that checks for the

You are asked to write a program that checks for the users input. The user will enter a number for test cases (how many times should the program run), then each time he will enter a two digits number, if the number is even, the program will check if the division of its digits is prime or not. If the number is odd, the program will check if the addition of its digits is prime or not (40 points) Hint: You must use functions in this question, it will also make it easier for you. Hint2: Be careful for numbers with 0 in the first digit Your answer Back Submit Page 2 of 2 Stop sharing Hide www.autoproctor.co is sharing your screen. Never submit passwOI

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 Databases Questions!