110k views
1 vote
Conditional statements are useful to computer programmers because

A) they eliminate extra coding by reuse of materials.
B) they allow programmers to set conditions to be met for an action to take place.
C) they use shorthand symbols to represent quantities.
D) they are predefined for each programming language.

User Pimmol
by
5.7k points

2 Answers

6 votes

Answer:

the answer is B, The Second Opinion

Step-by-step explanation:

the Conditional Statement or in other words the if Statement is used in a code to set conditions so when the need of the function is met true, then the code can execute the function.

User TheChampp
by
6.0k points
0 votes

Answer:

Option B is correct.

Step-by-step explanation:

Let look at each statement

A) No, Conditional statement do not eliminate extra code by reuse.

B) Yes, it allow programmers to set conditions to be met for an action to take place. so this option is correct.

C) No, shorthand symbols are not used to represent quantities.

D) No, They are not Predefined for each programming Language.

User Maxim Kolesnikov
by
6.1k points