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

  Communication and coordination between the departments

define your focus and select a hardware solution; it may consist of a phased approach or an approach that directs attention only to one of the groups, or it may involve all of the aforementioned departments.

  Define how referential integrity actions can be used

explain the default rules for enforcing referential integrity constraints. Explain how referential integrity actions can be used to override the default referential integrity constraints.

  Writenbspa javatm application using netbeanstm integrated

writenbspa javatm application using netbeanstm integrated development environment ide that calculates the total

  Create composite data dictionary definitions

CSI 1241/5134 Systems Analysis Assignment - The Data dictionary. Create composite data dictionary definitions for the invoice and portbill

  Discuss the best practices for securing wireless networks

Compare and contrast the best practices for securing wireless networks versus hard-wired networks

  Draw the shear force and bending moment diagrams

MECT 6322 - Computer Aided Engineering Final Exam. Deflection and reactions at the nodes (define the nodes as required). Draw the shear force and bending moment diagrams (using FEM). Compare the maximum deflection using FEM with analytical results

  Discuss the five signaling techniques

Imagine you are working as a deputy manager in ‘Universal Business Equipment (pvt.) Ltd.'. Your organization has organized an annual function.

  Create a function that replaces a passed string in a list

Create a function that replaces a passed string in a list of strings with a new string. Are the numbers returned from random. random() function really random?

  Write an awk program to print the lines

Write an awk program to print the lines as well as a total of its rows and columns. The program doesn't need to know the number of fields in each line.

  Make an orthographic projection

Make an orthographic projection and set the coordinate space so we are living inside a cube from 0 to 50 for x, y and z.

  Prepare a form that collects favorite popular songs

Write the markup document to prepare a form that collects favorite popular songs, including the name of song, the composer, and the performing artist or group.

  Perform sensitivity analysis by changing one parameter

Perform sensitivity analysis by changing one parameter at a time (leaving all other parameters fixed at the values used in Task 4) and answer the following questions.

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