Program61.java Write a program that prompts an employee to enter his/her hourly pay rate and hours worked last week. Call a method that takes these inputs as arguments. This method should calculate and print the employee's regular pay and overtime pay in currency format. The method should return the gross pay to main. The main method should print the gross pay in currency format.
Program61.java
Write a program that prompts an employee to enter his/her hourly pay rate and hours worked last week. Call a method that takes these inputs as arguments. This method should calculate and print the employee's regular pay and overtime pay in currency format. The method should return the gross pay to main. The main method should print the gross pay in currency format.
Sample Output (image below)
Program62.java
Write a program that prompts for a full name (first and last) and assigns it to one string. The program then passes the full name to a void method as its sole parameter. The void method should print the first name, on one line, as many times as indicated by the length of the last name.
Sample Output (image below)
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images