Question Detail

COS 102 If staments Objective Question

Question

In the ATM Transaction example (Page 4), what action is taken if the condition 'PIN correct?' evaluates to 'No'?
Options
A Give Cash
B Move
C Reject
Correct Answer
D Open Gate
Correct Answer

Option C is the correct answer.

Detailed Explanation

Page 4, under 'ATM Transaction', states: 'Action: If Yes → Give Cash. If No → Reject.'

Hint

Follow the 'No' path in the ATM Transaction logic shown.

Question Info