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

  Identify the fundamentals of public key infrastructure

Imagine you are an Information Systems Security Officer for a medium-sized financial services firm that has operations in four (4) states (Virginia, Florida).

  Question1 universities are typically organized by

question1. universities are typically organized by departments or colleges such as business biology engineering

  Discuss the hipaa rules for database security

Considering that some people seem willing to post just about any personal data on the Internet, how reasonable do you feel that the HIPAA rules for database.

  Find out if they pass or fail the course

The administration of you local Community College has asked you to write down a VB.NET program that allows students to calculate the sum of their grades and find out if they pass or fail the course.

  General knowledge recommends that pseudo code or flowcharts

general knowledge suggests that pseudo code or flowcharts can include clear and obvious logic errors. give your opinion

  Percent of commission

What is Tom's base salary? What percent of commission does he earn? Would you be able to use the same equation for Tom for the next year? Why or Why not?

  Describe your thoughts about what professionalism would mean

Describe your thoughts about what "professionalism" would mean to someone who is in the role of network administrator. How would that compare to someone who was a systems analyst or a programmer?

  Define data protection controls would benefit their business

the CEO of a company to convince the audience that data protection controls would benefit their business

  Write a program that uses a stack to read an integer

Write a program that uses a Stack to read an integer and print all its prime divisors in descending order. For example, with the integer 2100 the output.

  What would be the current values of f and r

If the queue of the previous problem was implemented with an array of capacity N = 30, as described in the chapter. what would be the current values of f and r?

  Determine inflation hedge against increasing rates

Read the following letter from a magazine publisher: Dear Parent: Currently your Growing Child/Growing Parent subscription will expire with your 24-month issue.

  Carlisle carpets wants a program to calculate carpet costs

carlisle carpets wants a program to compute carpet costs. create the logic for a program that prompts the user for two

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