Evaluate the pseudocode below to calculate the payment (pmt) with the following test values:
The total number of hours worked (workingHours) = 50
The rate paid for hourly work (rate) = 10
Input workingHours.
Input rate.
Pmt = workingHours * rate
If working_hours > 45
ExtraHours = workingHours - 45
ExtraPmt = extraHours * rate * 2
Pmt = pmt + extraPmt
Output pmt
A) 400
B) 500
C) 600
D) 1,000
Correct Answer:
Verified
Q46: What is the purpose of the following
Q47: While developing a program, the programmer adds
Q48: UML Supermarket has different ways of awarding
Q49: Which one of the following errors represents
Q50: When a compiler finds a syntax error
Q52: You have been asked to develop an
Q53: Which one of the following methodologies is
Q54: How do programmers find exceptions and run-time
Q55: What is a logic error?
A) An error
Q56: The programmer, not the compiler, is responsible
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