Question: 12. Code it in Python: 1 Declare Hours, Rate, Salary As Float 2 Write Enter the number of hours this employee worked: 3 Write

12. Code it in Python: 1 Declare Hours, Rate, Salary As Float 2 Write "Enter the number of hours this employee worked: " 3 Write "Enter -1 when you are done." 5 While Hours != -1 Write "Enter this employee's rate of pay: " Set Salary = Hours * Rate Write "An employee who worked " + Hours Write "at the rate of " + Rate + " per hour" Write "Enter the number of hours this employee worked: " 13 Write "Enter -1 when you are done." 14 Input Hours 15 End While
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
