Create a non-GUI based Java application that calculates weekly pay for an employee. The application should display text that requests the user input the name of the employee, the hourly rate, and the number of hours worked for that week. The application should then print out the name of the employee and the weekly pay amount. In the printout, display the dollar symbol ($) to the left of the weekly pay amount and format the weekly pay amount to display currency.© BrainMass Inc. brainmass.com March 4, 2021, 7:51 pm ad1c9bdddf
Step 1: Compile Employee.java
Javac -d . Employee.java (or)
simply javac Employee.java
Step 2: Compile payroll.java ...
Create a non-GUI based Java application that calculates weekly pay for an employee.