You are required to design and implement a number test


Question: You are required to design and implement a "Number Test" program. The program will ask the user to enter a number and then respond stating if the number is prime (or not), is even or odd and is positive, negative or zero. Then the program will ask the user to enter a number that meets one of the criteria (randomly determined) and tell them if it is correct or not. Then the program will ask if they wish to try again and again it will again ask for a number and repeat. If they do not try again it will exit. Of course you will need to make sure all inputs are correct and the program must not crash. Use functions where appropriate and the code should be logical, readable and correct to all techniques we have covered in the unit.

Solution Preview :

Prepared by a verified Expert
Management Theories: You are required to design and implement a number test
Reference No:- TGS02534749

Now Priced at $10 (50% Discount)

Recommended (97%)

Rated (4.9/5)