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
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