Solved

Which of the Following Is an Example of a Single-Outcome

Question 34

Multiple Choice

Which of the following is an example of a single-outcome selection?


A) If testScore >= 60 Then
Display "That is a passing grade."
Else
Display "That is a failing grade."
End If

B) If hoursWorked > 40 Then
OvertimeHours = hoursWorked - 40
OvertimePay = overtimeHours * wageRate * 1.5
RegularPay = 40 * wageRate
GrossPay = regularPay + overtimePay
Else
GrossPay = hoursWorked * wageRate
End If

C) If age >= 65 Then
DiscountRate = 0.10
End If

D) Method deposit(Numeric amt)
AcctBal = acctBal + amt
Display "The new balance is: $" + acctBal
End Method

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents