Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started