Question: Modify the GreenvilleRevenue program created in Chapter 1 0 , Case Study 1 so that it performs the following tasks: The program prompts the user
Modify the GreenvilleRevenue program created in Chapter Case Study so that it performs the following tasks:
The program prompts the user for the number of contestants in this years competition; the number must be between and Use exceptionhandling techniques to ensure a valid value and display the error message:
Number must be between and
The program prompts the user for talent codes. Use exceptionhandling techniques to ensure a valid code and update the displayed message to the following message:
x is not a valid talent code. Assigned as Invalid.
where x was the invalid code entered into the console.
After data entry is complete, the program prompts the user for codes so the user can view lists of appropriate contestants. Use exceptionhandling techniques for the code verification and display the following message:
Enter a talent type or Z to quit x
x is not a valid code
and for valid codes:
Enter a talent type or Z to quit S
Contestants with talent Singing are:
Adult Contestant Mark S Fee $
where x was the invalid code entered into the console.
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
