Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Scenario: You are working at Speedy Bus, a transportation company that transports people in style. It is your job to create a simple reservation system that will help the company track tickets for its bus service. Currently, the company only has one bus. The bus has eight seats, as shown in the diagram below:

***FRONT***

Seat 1 Seat 2 Seat 3 Seat 4 Seat 5 Seat 6 Seat 7 Seat 8

Seats 1 and 2 are the most luxurious with the most leg room, and cost $10.60 each. Seats 7 and 8 are smaller than all other seats and only cost $5.45 each. All other seats cost $7.80 each.

Create a modular program that will allow an operator to take reservations for seats on the bus. To make a reservation, an operator will identify the seat a customer wishes to book. A seat cannot be booked by more than one customer, so the operator should be informed if a specific seat is already booked, or if it was successfully booked by the customer wanting to book it. The process will continue until there are no more customers that wish to book seats.

Once there are no more customers that wish to book seats, if at least 3 seats are occupied, the program will output a report (dialog box) containing the number of seats occupied, which seats are occupied and how much money the company will earn for the trip. If at least 3 seats are not occupied, the program will inform the operator the bus is not full enough to run, and they should try again later when there are more customers. At this point, the program will end.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91808414
  • Price:- $20

Priced at Now at $20, Verified Solution

Have any Question?


Related Questions in Computer Engineering

Explain how the following industries should adapt their

Explain how the following industries should adapt their businesses to the ever expanding use of social networks and mobile computing (smart phones, tablet computers, etc.): 1) Media and Entertainment, 2) Department store ...

On the spot courier services grew and changed over the

On the Spot courier services grew and changed over the years. At first, Bill received requests for package pickups on his mobile phone, recorded that information in a log, and would then drive around to retrieve all the ...

The population mean weight of product x is 100 pounds of

The population mean Weight Of product X Is 100 pounds of the population standard deviation is 10 pounds. Assuming the population is normally distributed, what is the Probability of obtaining a sample of 25 units of produ ...

Determine the percentage of mass of the atmosphere that

Determine the percentage of mass of the atmosphere that resides between sea level and a height of 18.3 km. Assume an average pressure of 1.00 atm at sea level and a temperature of the atmosphere of 15 °C. The average mol ...

What are security planning principles what is policy-based

What are Security Planning Principles? What is policy-based security? (Hint for both: pure definition is not good enough. Answers need to be illustrated in the context of an example or scenario).

Suppose that we want to convert the small computer into a

Suppose that we want to convert the small computer into a 16- bit RISC type of processor (address and data buses are both 16-bits wide and each instruction is supposed to occupy 16 bits in the instruction memory). If the ...

Refer to the reading e-business strategy how to benefit

Refer to the reading, "E-Business Strategy: How to Benefit From a Hype" and review its alignment between such models as SWOT and Five Forces and the e-business that it uses as a model. In your posting, address the follow ...

Decision support systemsnbspvary greatly in application and

Decision support systems  vary greatly in application and complexity, but they all share specific features. A typical Decision support systems has four components: data management, model management, knowledge management ...

Question suppose you need to manually sort a hand of cards

Question : Suppose you need to manually sort a hand of cards. What techniques, other than a bubble sort, would you implement? Describe one or more algorithms at a high level.

Assume that these data are seven random observations taken

Assume that these data are seven random observations taken from a larger population whose values are normally distributed. (even if this assumption makes little sense) Using this assumption, coupled with prior computatio ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As