Question: The following pseudocode algorithm displays Pay is greater than $200 if an employee makes more than $200 and displays Pay is under $200 otherwise. Input:
The following pseudocode algorithm displays "Pay is greater than $200" if an employee makes more than $200 and displays "Pay is under $200" otherwise. Input: hoursWorked and ratePerHour Output: totalPay Error: negative inputs Pseudocode: READ hoursWorked READ ratePerHour IF hoursWorked 200 THEN DISPLAY "Pay is greater than $200" ELSE DISPLAY "Pay is $200 or under" ENDIE ENDIF 04.1 5 Points What is the minimum number of operations that could be executed by this code? Enter an Integer value only Enter your answer here 04.2 5 Points What is the maximum number of operations that could be executed by this code? Enter an Integer value only Enter your answer here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
