173k views
2 votes
If you have a dual-alternative decision (you want to perform one action when a Boolean expression evaluates as true and an alternate action when it evaluates as false), you can use a(n) ____ statement.

User F Yaqoob
by
8.3k points

1 Answer

5 votes

Answer:

if-else

Explanation:

A dual-alternative decision structure is a structure that includes a single or a group statement.

There are two statements:

True and false

The true statement is that statement that includes one statement or block of the statement.

A false statement is that statement that includes two statements or block of statement

User Aditya Garimella
by
7.9k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.