Question: Here's the code to create it from: Sorry but Chegg Provents me from pasting in the code because it is too long. Instructions Modify the

Here's the code to create it from:






Sorry but Chegg Provents me from pasting in the code because it is too long.
Instructions Modify the GreenvilleRevenue program created in the previous chapter so that it performs the following tasks: The program prompts the user for the number of contestants in this year's competition; the number must be between 0 and 30. Use exception-handling techniques to ensure a valid value and display the error message: Number must be between 0 and 30 The program prompts the user for talent codes. Use exception-handling 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 exception-handling techniques for the code verification and display the following message: x is not a valid code where x was the invalid code entered into the console. Instructions Modify the GreenvilleRevenue program created in the previous chapter so that it performs the following tasks: The program prompts the user for the number of contestants in this year's competition; the number must be between 0 and 30. Use exception-handling techniques to ensure a valid value and display the error message: Number must be between 0 and 30 The program prompts the user for talent codes. Use exception-handling 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 exception-handling techniques for the code verification and display the following message: x is not a valid code where x was the invalid code entered into the console
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
