Tuesday
July 29, 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

algebra - restaurants typically pay wait staff an hourly wage that is lower than...
java - Write a java application that finds the smallest of several integers. ...
math - A standard tip for a waiter or waitress is between 15% and 20% of the ...
programming - Create the logic for a program that continuously prompts a user ...
programming pseudocode - Create the logic for a program that continuously ...
programming - Pseudocode - Create the logic for a program that continuously ...
Java Programming - I need to create a pseudocode for the follwing application: ...
Java - in Java how do you create a method that will prompt the user to type in ...
Java - Write a GUI application that prompts the user for a number between 1 and ...
programming - Write a program which allows user to enter 10 student names and ...

Search
Members