Chapter 4: Problem 14
What statement do you use in pseudocode to write a dual alternative decision structure?
Short Answer
Expert verified
Answer: In pseudocode, a dual alternative decision structure, or "if-else" statement, is represented using the keywords "IF", "ELSE", and "ENDIF". The format includes the condition to be checked, actions for when the condition is true, and alternative actions for when the condition is false. Here's an example:
IF (condition)
action if condition is true
ELSE
action if condition is false
ENDIF