Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 3 1 pts Which of the following if statement conditions would be True only when hours_worked complied with the business rules (had a value
Question 3 1 pts Which of the following if statement conditions would be True only when hours_worked complied with the business rules (had a value between 1 and 60 inclusive)? Assume that hours_worked is an integer variable. if hours_worked > 0 or hours_worked 0: O if hours_worked >=0 and hours_worked 1: Question 4 1 pts Based on the business rules at the call center, which of the following formulas would be used to calculate gross pay when an employee works more than 40 hours? Assume the program uses the variables gross_pay, hourly wage, and hours worked O gross_pay = (hourly wage * hours_worked) O gross_pay = (hours_worked - 40) * 1.5 * hourly_wage+ (40 * hourly_wage) O gross_pay = hours worked * 1.5 * hourly wage +(40* hourly_wage) O gross_pay = (40 - hours_worked) * 1.5 * hourly wage + (40 * hourly_wage) Question 3 1 pts Which of the following if statement conditions would be True only when hours_worked complied with the business rules (had a value between 1 and 60 inclusive)? Assume that hours_worked is an integer variable. if hours_worked > 0 or hours_worked 0: O if hours_worked >=0 and hours_worked 1: Question 4 1 pts Based on the business rules at the call center, which of the following formulas would be used to calculate gross pay when an employee works more than 40 hours? Assume the program uses the variables gross_pay, hourly wage, and hours worked O gross_pay = (hourly wage * hours_worked) O gross_pay = (hours_worked - 40) * 1.5 * hourly_wage+ (40 * hourly_wage) O gross_pay = hours worked * 1.5 * hourly wage +(40* hourly_wage) O gross_pay = (40 - hours_worked) * 1.5 * hourly wage + (40 * hourly_wage)
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