In a situation where you want to perform one action when a Boolean expression evaluates as true and an alternate action when it evaluates as false, otherwise known as a dual-alternative decision, what sort of statement should you use?
A. if-else
B. if
C. switch
D. fork
Answer: A
Computer Science & Information Technology
You might also like to view...
One required entry for a method heading is the return type.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology
Which type of architecture on a system allows several computers to link together and share resources such as a printer?
Computer Science & Information Technology