Demonstrate the use of file io

Assignment Help Computer Engineering
Reference no: EM132163007

Create a C# Console program that will demonstrate the use of File IO, Arrays, and Classes.

This assignment has a number of requirements.

Carefully read the document and note all the requirements. Also keep in mind that many of the requirements for this assignment are module; that is if one requirement is not implemented, it will not affect another.

For example, you can implement adding a seat without having removing a seat working.

You can reserve and unreserve seats without having saving and loading working.

To maximize your mark, try to complete as many requirements as possible, do not get stuck on one requirement and spend all of your time trying to get it to work at the neglect of other requirements.

Write a program that functions as a concert/restaurant/airplane/etc. reservation system.

This system must be sufficiently complex, with a minimum of 4 rows with 4 seats in each row.

You must display the seats on the screen in some manner and indicate which are available and which are taken, it is up to you to decide how to do this.

You may display the seating in any display format that you feel is appropriate as long as it logically conveys the information to the user.

Example seating chart:

*Seat 1-1*Seat 1-2*Seat 1-3*Seat 1-4*

*Seat 2-1*Seat 2-2*Seat 2-3*Seat 2-4*

*Seat 3-1*Seat 3-2*Seat 3-3*Seat 3-4*

*Seat 4-1*Seat 4-2*Seat 4-3*Seat 4-4*

Allow the user the following options:Add a customer to the seating plan

Request the customer's name

Display a list of the seats in the venue

If seats are available, let the customer choose a seat. Add the customer to the seating chart on the application.

For example, after adding a customer the seating chart would become:

*Seat 1-1*Seat 1-2*Seat 1-3*S. Claus*

*Seat 2-1*Seat 2-2*Seat 2-3*Seat 2-4*

*Seat 3-1*Seat 3-2*Seat 3-3*Seat 3-4*

*Seat 4-1*Seat 4-2*Seat 4-3*Seat 4-4*

If no seats are available, inform the user

Remove a customer from the seating plan

Request the customer's name or seat number

Search the seating chart for the customer's name or seat number and delete it

Your system should show validation whenever appropriate, and function in a logical manner. For example, the system should not shut down after each operation, if a user has to fix an entry the system should not start over, etc.

Your system should also have File IO such that the reserved seats with who reserved them is not lost when your program shuts down.

Reference no: EM132163007

Questions Cloud

Create and use stored procedures : Create and use stored procedures that validates the user existence to login, add/delete members, assign/un-assign members, and vote.
Determine the throughput using frame relay transmission : Assume that all physical circuits operate at the same transmission speed and have the same bit error rate p.
Compute the average salary of the employees : Compute the average salary of the employees in the company and display the average on the screen.
What is the maximum file size : What is the maximum file size if 32 bytes are used for metadata, and 8 bytes are used for one single indirect and one double indirect pointer?
Demonstrate the use of file io : Display the seats on the screen in some manner and indicate which are available and which are taken, it is up to you to decide how to do this.
Price function by inverting the demand function : Here is a linear demand function: .5Q = 15 -2P. Find its price function by inverting the demand function. Then find its total revenue function by multiplying
Measure the size of an economy : Are there limitations of using GDP to measure the size of an economy?
Area of managerial economics : Using Isaiah 55:1-5 and Daniel 5:17-31, what are some ideas on how the Bible guides in the area of managerial economics. Provide workplace examples.
Find the book value at the end of yr : A machine was purchased by a company four years ago for $8,000. Estimated salvage value is $1000 at the end of its 10 years life.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Questionwrite down a java program that creates an array of

questionwrite down a java program that creates an array of integers that called myarray. myarray be able to be of any

  How would you analyze whether a coin is fair

Tossing a coin ten times resulted in eight heads and two tails. How would you analyze whether a coin is fair? What is the p-value?

  Write a summary that includes the services main features

Does anyone in your area offer a Wi Max service? If yes, write a one-page summary that includes the service's main features.

  Identify and describe what security domain

Identify and describe what Security Domain(s) and sub-domains are applicable to personal computer (workstation) security in a business context

  Drawbacks to ethernet, token ring, fddi, and wireless

drawbacks to Ethernet, Token Ring, FDDI, and wireless.

  Displays the current date and time in linux script

Displays the number of CPU cores. Displays the total amount of RAM. You can use the utility free to do this.

  Manufacturers are continuously releasing firm-ware upgrades

manufacturers are continuously releasing firmware upgrades for their products. if you were the manager of a wlan how

  Discuss the correlation between the two types of failures

Consider an application that contains errors causing an improper alarm. Discuss the correlation between the two types of failures.

  Design a floating point multiplication unit with overflow

CS365 Project - Design a floating point multiplication unit with overflow/underflow detection feature for multiplying two 32-bit floating point numbers in IEEE

  Write a program that reads the radius of a sphere

Write a program that reads the radius of a sphere and prints its volume and surface area. Use the following formulas. Print the output to four decimal places.

  Write a program to run a tournament

Write a program to run a tournament. Start with your project 3 program for creatures. If you had issues with project 3 and need to begin fresh.

  How various bits fit in the cable

A 100-km-long cable runs at the T1 data rate. The propagation speed in the cable is 2/3 the speed of light in vacuum. How various bits fit in the cable.

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