Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

What is meant by 'Wealth Maximization ' ?

Answered: 1 week ago