subject

Written in C# Emulate a simple long-distance bus service reservation system.
We are dealing with a handful of routes each with a number of daily running buses, each with a specified number of seats.
Each customer that buys a ticket will get an assigned seat.
Invalid reservation will result in an exception.
Here is a possible list (you might want to come up with a hierarchy of these exceptions):
counter is closed,
seats are not available,
service is cancelled,
insufficient funds to purchase,
payment gateway is not responding.
No other details mentioned name of routes can be anything.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:30
Some of the first computer games were created in the early 1970s by college students experimenting after hours to see what the were capable of doing.
Answers: 3
question
Computers and Technology, 22.06.2019 20:10
Assume that minutes is an int variable whose value is 0 or positive. write an expression whose value is "undercooked" or "soft-boiled" or "medium-boiled" or "hard-boiled" or "overcooked" based on the value of minutes. in particular: if the value of minutes is less than 2 the expression's value is "undercooked"; 2-4 would be a "soft-boiled", 5-7 would be "medium-boiled", 8-11 would be "hard-boiled" and 12 or more would be a "overcooked".
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
What are listed in the vertical columns across the top of the event editor? a. file names b. conditions c. check marks d. action types
Answers: 1
question
Computers and Technology, 23.06.2019 11:00
What is the name of the sound effect that danny hears
Answers: 1
You know the right answer?
Written in C# Emulate a simple long-distance bus service reservation system.
We are dealing w...
Questions
question
Mathematics, 04.03.2020 01:19
Questions on the website: 13722360