Homework 5 Csc211.

Due Thursday Feb 26, 11:59pm


Problem 1 (25 Points)

Due Question 2 from lab7. You must re name the class to HiLo1

Turn in Instructions

Upload HiLo1.java to New COL using hw5a link.

Problem 2 (50 Points)

Due Question 3 from lab7. Use the original version of HiLo.java. You must re name the class to HiLo2

Turn in Instructions

Upload HiLo2.java to New COL using hw5b link.

Problem 3 (50 Points)

You can use either the Scanner class or pop-up windows to get the input.

Employees at MyJava Burgers earn the basic hourly wage of $7.25. They will receive time-and-a-half of their basic rate for overtime hours, that is hours over 40. In addition, they will receive a commission on the sales they generate while tending the counter. The commission is based on the following formula: Sales Volume Commission --------------------------------------------- $1.00 - $99.99 5% of total sales $100.00 - $299.99 10% of total sales >= $300.00 15% of total sales ________________________________________________ Write an application that inputs the number of hours worked and total sales and outputs the wage. Allow the user the option to compute more than one salary. Thats is, use a loop.

You must name your class AnotherPayDay

You will loose points if your class is not named AnotherPayDay

Turn in Instructions

Upload AnotherPayDay.java to New COLCol using Hw5c link.