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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!