You are to create an efficient OO application to be used by the wait staff at the Mason Inn. ...
You are to create an efficient OO application to be used by the wait staff at the Mason Inn. You
will process one waiter/waitress at a time. The user will provide information for him or her, to
include: their name, number of hours worked and hourly wage. Additional information to be
stored for each employee will be their total number of tables served and the total tips collected.
To make your data definition class more robust, include the capability to provide either no
information; the employee name; or the employee name and hourly wage at object creation time.
You must upload a UML Class Diagram for your WaitStaff class.
The hourly wage – must be between the minimum of $5/hour and the maximum ‐‐ $8/hour, and
number of hours worked – must be between one and sixty.
When processing an employee, prompt for the amount of tip for as many tables as desired. The
value of each tip should be between $.01 and $100.
The Restaurant application should request the necessary input from the user (name, hourly wage,
number of hours worked and each tip amount received) and produce readable output for each
waiter/waitress to include the total salary for the week – based on hourly pay, total received in
tips, total amount earned (salary and tips) and the average tip amount. Then allow the user to
enter another employee. In addition to the summary presented for each member of the wait staff,
a final summary that includes the total salary paid out, the total in tips collected and the largest
tip received by any wait person.
13 years ago
10
Answer(0)
Bids(0)
other Questions(10)
- two objects with the same mass are 10m apart. What would be the gravitational pull on one another if they...
- Judy's Fashions, Inc. purchases supplies from a single supplier on terms of 1/10, net 20. currently, Judy takes the...
- Each plate moves over earth's what and changes position with respect to other plates?
- athens or sparta, each citizen of this city was permitted to speak at the assembly
- solve the following system of equations graphically and check: y-x=1 y=-1/2x+4
- Do you have anyone available to do linguistic homework?
- How can finding the surface area of a rectangle help
- solve by elimination 2x-7y=28, y=2/7x-4
- whats -11/14 x -2/33
- y+2x=7