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

  Key elements of an entry strategy

Write down the key elements of an entry strategy, especially for the high-tech environment? The answer requires to be of at least 300 words. Also include any references

  List a few common applications for terrestrial microwave

What kind of objects can interfere with terrestrial microwave transmissions? List a few common applications for terrestrial microwave.

  Determine if the triangle is an equilateral triangle

After getting the input from the user, write an if-else statement to determine if the triangle is an equilateral triangle.

  Implementing a streamlined information assurance program

It could be in the field of securing a wireless network, implementing a streamlined information assurance program, generic security design for a business, personal information privacy protection, etc.

  How do you think the hacker got into the computer to set

a hacker had installed a program on the computer that made it automatically send out tons of spam email without the computer owner's knowledge

  Design a bcp based off of primary location in san francisco

Based on your current technology and information security knowledge, for this project you will design a BCP based off of the Primary location in San Francisco, CA profile.

  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.

  Risks in the development of wearable pda

Assume an entrepreneur is proposing in order to design a wearable PDA which is unobtrusive and responds to the voice commands.

  What can sls do to prepare for the next incident

The next day at SLS found everyone in technical support busy restoring computer systems to their former state and installing new virus and worm control software

  The solution is about the kinds of ai systems

The solution is about the types of AI systems that could be used to help make systems more efficient. It also explains how they would help.

  Write an application that retrieves a student name

Write an application that retrieves a student name and three scores per line from a text file. Process the values by calculating the average of the scores per student.

  Write a single statement to display the number of digits

Write the statement to instantiate a package to do input and output with US_Gallons. Write a single statement to display the number of digits of precision used.

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