asked 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.

asked
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

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.