Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

// repeat calculation for 3 employees using a while loop //while ( count = 3 ) //use System.print to prompt the user with "Enter hourly rate: " //...

// repeat calculation for 3 employees using a while loop//while ( count <= 3 )//use System.out.print to prompt the user with "Enter hourly rate: "// read the hourly rate like: rate = input.nextDouble(); //use System.out.print to prompt the user with "Enter hours worked: "// read hours worked like rate above // calculate wages//if hours > 40 with overtime//if pay = _____________________________________________// else straight time//pay = ___________________________// print the pay for the current employee//use System.out.printf to display "Pay for Employee" (format with printf)//increment count// end while loop// end method calculateWages// end class Wages**********************separate driver to run class above****************// Exercise 4.20 pseudo code: WagesTest.java// Test application for class Wages//create a public class called WagesTest//create an application method that takes a string argument//create an instance of the Wages class called application //use the instance name application and dot syntax to call the method calculateWages() in Wages class// end main// end class WagesTest*************************output should look like:***********Enter hourly rate: 12.50Enter hours worked: 50Pay for Employee 1 is $687.50Enter hourly rate: 27Enter hours worked: 40Pay for Employee 2 is $1080.00Enter hourly rate: 8.25Enter hours worked: 30.5Pay for Employee 3 is $251.63

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question