Question: WRITE A C# SIMPLE CONSOLE APPLICATION Consider the following scenario: A landscape service has hired you to create a new tracking system. They have 2

WRITE A C# SIMPLE CONSOLE APPLICATION Consider the following scenario: A landscape service has hired you to create a new tracking system. They have 2 types of appointments: morning and afternoon. There are 5 appointments for morning and 5 for afternoon. Using an array, create a C# application that prompts the user for the appointment type (morning or afternoon) then reserves a slot of that type. The first 5 array slots are morning and the second 5 slots are afternoon. If there is no appointment of that type available, show a message telling the user that there is no appointment available. Your screenshot must show the appointment type request and the slot# assigned. Your application must test using the test cases shown below. Run all of the test cases in one execution of your application. Include the test prompts in your screenshot. At the beginning of your program, display your name and the assignment due date.

Test cases:

1.Afternoon

2.Morning

3.Afternoon

4.Afternoon

5.Afternoon

6.Afternoon

7.Afternoon

8.Morning

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!