8. you have to make decision based on
multiple choices, which of the
following is best suited? *
Answers
Answered by
3
All of the above.............
Answered by
1
QUESTION:
You have to make decision based on multiple choices, which of the following is best suited?
A. if
B. if-else
C. if-else-if
D. All of the above
Answer:
The correct answer to the above question is option C, if-else-if.
Explanation:
- These types of statements are known as conditional statements.
- These statements are followed by an optional else if...else statement.
- It helps in testing various conditions using single if...else if statement.
- These statements are used for handling decisions.
They are of many types:
- If statement
- If-Else statement
- Nested If-else statement
- If-Else If ladder
- Switch statement
Similar questions
History,
1 month ago
Social Sciences,
1 month ago
Social Sciences,
2 months ago
Computer Science,
2 months ago
Science,
8 months ago
English,
8 months ago