Question
you continued to modify the GreenvilleRevenue program. Now, modify the program so that the major functions appear in the following individual methods: GetContestantNumber - This
you continued to modify the GreenvilleRevenue program. Now, modify the program so that the major functions appear in the following individual methods: GetContestantNumber - This method gets and returns a valid number of contestants and is called twice once for last years number of contestants and once for this years value
DisplayRelationship - This method accepts the number of contestants this year and last year and displays one of the three messages that describes the relationship between the two contestant values
GetContestantData - This method fills the array of competitors and their talent codes
GetLists - This method continuously prompts for talent codes and displays contestants with the corresponding talent until a sentinel value is entered
I found this code but it doesnt work;
https://www.chegg.com/homework-help/questions-and-answers/using-c-chapter-6-continued-modify-greenvillerevenue-program-modify-program-major-function-q10915851
However the code doesnt work; because it shows following errors,
Compilation failed: 2 error(s), 0 warnings NtTest46314c43.cs(19,25): error CS0103: The name `GreenvilleRevenue' does not exist in the current context NtTest46314c43.cs(27,25): error CS0103: The name `GreenvilleRevenue' does not exist in the current context
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started