Friday
April 25, 2014

Homework Help: Java

Posted by Johnny on Saturday, September 22, 2012 at 8:50pm.

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.


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.

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

Java Programming - I need to create a pseudocode for the follwing application: ...
Java - create a java program that accepts students names, and test scores from a...
java - Write a java application that finds the smallest of several integers. ...
calculus - evaluate integral or state that it is diverges integral -oo, -2 [2/(x...
coefficient - test using the lead coefficient to find out if y arrow oo, or y ...
HR - A restaurant with over 300 employees in 3 different locations with the ...
calculus - 1. integral -oo, oo [(2x)/(x^2+1)^2] dx 2. integral 0, pi/2 cot(theta...
visual basic net - Formula F=1.8 * C + 32 Create an application that displays a...
MATH SINUSOIDAL APPLICATION - Would pulling a roll of thread create a sinusoidal...
Computer Science - Consider the following application files: /JavaCS1/src/...

Search
Members