Question: C++ Programming Quick Program. Need done within an hour for 5 stars!!! please help!! :-) Design a program that will repeatedly ask the user to

C++ Programming Quick Program.

Need done within an hour for 5 stars!!! please help!! :-)

C++ Programming Quick Program. Need done within an hour for 5 stars!!!

Design a program that will repeatedly ask the user to enter student ID (9 digit). If the entered ID is less or greater than 9 digits, the program will throw an exception, generate appropriate error message and terminate. Write this program using the following function declaration:/* * * Prompts the user to input 9 digit WSU student id and returns the id * * If the length of the student id is 9, * a logic_error exception is thrown */string getID()

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!