Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

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

Recommended Textbook for

Linked Data A Geographic Perspective

Authors: Glen Hart, Catherine Dolbear

1st Edition

1000218910, 9781000218916

More Books

Students also viewed these Databases questions

Question

Which of the following is NOT a relational operator? 1. =

Answered: 1 week ago