Create a new tracking system

Assignment Help Computer Engineering
Reference no: EM132196985

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

Reference no: EM132196985

Questions Cloud

Write a class encapsulating the concept of a license plate : Write a class named CarPlate encapsulating the concept of a license plate, assuming that it has the following attributes: the plate number, the state.
Define exception and throw when the fraction is instantiated : Write a class Fraction, define a exception and throw when the fraction is instantiated with zero in the denominator.
Swap the largest and last elements and display the result : Write a C++ program. Working with single-dimensional arrays using pointers. Key in the number n.
Display information about all elements of array of strings : Create a template structure "sports team" with the following fields: name, city; City, the number of players, the creation date (structure day is the meat-year)
Create a new tracking system : A landscape service has hired you to create a new tracking system. They have 2 types of appointments: morning and afternoon.
Simulate a random walk using a coin flip : Simulate a "random" walk using a coin flip. The initial position is the middle of the array and if the coin flip is heads (0) move 1 step to the right.
Explain advantages and disadvantages of globalization : Globalization brings with it both advantages and disadvantages, economic and otherwise. List some of each, according to your own view of globalization.
Create a dunbar object set the force of the object : Write the class that will carry out the following steps. This code would be part of a program, but you only have to write out the steps requested here.
Make the three data members private : Write a class to contain the following information about towns: the name (a sequence of characters); the population (an integer);

Reviews

Write a Review

Computer Engineering Questions & Answers

  Write a loop that prints the strings to the console

Write a loop that prints the Strings to the console but loop stops at the first null. Write a loop that prints the Strings to the console but loop stops.

  Research various command-line interfaces

List and explain some of the commands that are easier using a command-line interface versus using a GUI. List and explain some of the commands that are easier using a GUI versus using a command-line interface.

  Introduces the child to the amazing animals of the world

It's required to build a system that introduces the child to the amazing animals of the world whilst teaching them new words in a fun way.

  Prepare a test case for each independent path

Based on the control flow graph, find the cyclomatic complexity and list all the (linearly) independent paths. Prepare a test case for each independent path.

  Discuss whether there are too many standards organizations

Discuss whether there are too many standards organizations attempting to regulate the networking field

  Categorizing the threat

Download a password cracker developed for your operating system. Run the cracker on your system. Describe the results from cracker.

  Compare and contrast the three products

Why will a company choose one over another.

  Find the month that has the maximum characters

Write a C program that uses a 2-dimensional array to store the names of all twelve months of the year.

  Write a program to produce a random two-dimensional image

Write a program to produce a random two-dimensional image. (Example: generate random bits, write a "*" when 1 is generated, " " when 0 is generated.

  Create a text generator that uses a markov chain

CMPM 179 Post-Processing and Markov Chains Program. Create a text generator that uses a Markov chain, Using data to train a generative model

  Local v/s network printers

Write down a paper explaining the Windows Printer Model for Server 2008. Explain the local v/s network printers and how to decide which printers to deploy.

  Demonstrate the concepts of phase and group velocities

Two copropagating plane waves that have the same magnitude but a small frequency difference.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd