Solved

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

Question 8

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