Evaluate the pseudocode below to calculate the payment (pmt) with the following test values:
The total number of hours worked (workingHours) = 60
The rate paid for hourly work (rate) = 15
Input workingHours
Input rate
Pmt = workingHours * rate
If workingHours > 40 then
ExtraHours = workingHours - 40
ExtraPmt = extraHours * rate * 2
Pmt = pmt + extraPmt
Output pmt
A) 900
B) 1,200
C) 1,500
D) 1,800
Correct Answer:
Verified
Q75: Consider the following pseudocode, what does it
Q76: The Java statement public static void main(String[]
Q77: Writing a computer game in Java that
Q78: Consider the following pseudocode. What does it
Q79: Consider the following pseudocode. What does it
Q81: The Java programming language is itself relatively
Q82: A Java Virtual Machine is
A) A theoretical
Q83: Which statements are true?
I. In Java, a
Q84: In Java, if you want the compiler
Q85: Sometimes errors throw the compiler off track
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents