Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Computing Weekly Wage print (### Question 2: Computing Weekly Wage) 1. Ask user pay rate per hour as floating number? 2. Ask user hours
Computing Weekly Wage print ("### Question 2: Computing Weekly Wage") 1. Ask user pay rate per hour as floating number? 2. Ask user hours worked last week as integer? 3. If not over-time (i.e. hours worked 40): 4.1. Calculate gross pay of 40 hours of regular pay plus over-time hours (i.e. hours worked - 40) on one-and-a-quarter times of pay rate. 4.2. Use one print() function to display two lines: the number of over-time hours, and gross pay with dollar sign ($) and two decimal places. python # Question 3: Computing Quizzes Average print ("### Question 3: Computing Quizzes Average") 15pts 1. Ask user number of quizzes as integer. 2. Implement a for loop: 2.1. Output the quiz counter, and ask user each quiz score as integer. 2.2. Accumulate the sum of quiz scores. 3. Calculate and use one print () function to format and display the number of quizzes and their average with one decimal place. # Question 4: Computing Quizzes Average - 20pts print ("### Question 4: Computing Quizzes Average") 1. Initialize a boolean variable to False to control the while loop below. 2. Implement a while loop to process the code below, while the above boolean variable remains False. 2.1. Ask user a quiz score as integer or just enter to quit. 2.2. If user wanted to quit, change the boolean variable to True. 2.3. Otherwise, accumulate the sum of quiz scores, and count number of quizzes. 3. Calculate and use one print () function to format and display the number of quizzes and their average with one decimal place. II II II
Step by Step Solution
★★★★★
3.62 Rating (167 Votes )
There are 3 Steps involved in it
Step: 1
Question 2 Question 3 Question 4 1 Question 2 Computing Weekly Wages 2 printQuestion 2 Computing ...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