Ask Question
22 September, 21:42

This decision control structure enables the program to execute a statement or block of codes if and only if the Boolean expression is true

Select one: a. Both if-then and switch b. switch c. if-then d. Neither if-then and switch

+2
Answers (1)
  1. 23 September, 00:00
    0
    Both if-then and switch is the decision control structure that enables the program to execute a statement or block of codes

    Explanation:

    This decision control structure always checks for one or more condition and execute true statement "if the condition is true" otherwise it will execute false statement (if present). The "true statement" is compulsory.

    In case of "if-then loop", it executes the true block only if the Boolean expression is true. In a similar way in switch-case, the same happens and instead of else part there will be a "default" statement which is compulsory to be present and it will get executed.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “This decision control structure enables the program to execute a statement or block of codes if and only if the Boolean expression is true ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers