Question: appal Gyn Admnistration Background In this assignment, you will use the concepts of loops in C#. l-D and 2-D arrays in C# along with your

 appal Gyn Admnistration Background In this assignment, you will use the

appal Gyn Admnistration Background In this assignment, you will use the concepts of loops in C#. l-D and 2-D arrays in C# along with your previous knowledge of creating user-defined classes, methods, and related functionalities. You are going to create an application for a gym administrator, where at the end of the week, your program will help them view the enrollment in Zumba class, and the total revenue generated per day and per weck for that class. Your Tasks 1. First, in the main method, ask the uscr to cnter his or her name 2. In the main method, after displaying the user name, ask the user to enter Y for requesting the display of Zumba revenues. If user enters 'Y", then call a DisplayZumba) method defined in a different class called Zumba Ask the user if he or she wants to exit the gym administrator interface. If the user enters N, then repeat steps 1-2 in a loop. If the user enters Y, then terminate the program. (Note: since steps 1-2 noed to run at least once before the decision to repcat the steps is made, based on the user input; therefore, it is wise to use the do..while loop structure). 3. 1:00 5-00 17 17 7:00 4. Create a file called Zumba.cs, In this file under the same namespace as the Main class, create a class called Zumba. Write methods and loops to display the revenue generated by the Zumba class at the gym in a tabular format similar to Figure 1. Zumba is offered six days per weck, four times a day, at 1, 3, 5, and 7 p.m. Attendees pay S4.00 per class for Zumba. Your program should produce a table displaying the number of attendees per time slot. Further, display an additional row and column of totals showing attendees by day and time period. Also, include another column showing revenue generated cach day and the total revenuc at the end of the week. Do a compile time initialization of your data structures (2-D array)from the table in Figure 1 byMonday 10 13 10 Wednesdey Thursday 10 10 10 Flgure 1

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!