answersLogoWhite

0


Best Answer

You start with the first or outermost IF statement. If that is true then you follow the "instruction" that follows and if not, you follow the instruction that follows at the same level of brackets/parentheses. Either or both of these instruction may IF (ie conditional) statements. You simply follow them down the line.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you use a chain of conditional statements?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Short note on conditional statements in c?

Use them carefully.


Are all conditional statements true?

A conditional statement may or may not be true.


How are looping statements different from conditional statements?

The former include repetition, the latter don't.


What statement is use to make a decisions?

None of them; you may think of the conditional statements, like if-else, for, while, do-while.


The method of what allows you to combine related conditional statements?

syllogism


What method allows you to combine related conditional statements?

syllogism


How many true conditional statements may be written using the following statements n is a rational number n is a integer n is a whole number?

Given that an integer is the same as a whole number, there are four true conditional statements.


Which type of a reasoning is based on conditional statements like if A then B?

Deductive


What Statements that have the same truth value?

conditional and contrapositive + converse and inverse


How to make decision making statements in c plus plus?

Decision making statements make use of conditional expressions. In C++ there are three possibilities: if/else, switch/case and the ternary operator (?:).


What are unconditional statements in c plus plus?

Unconditional statements are statements that are invoked unconditionally. Conditional statements have a controlling expression, while unconditional statements do not. For example: void f (bool b) { if (b==true) do_something(); // conditional statement (controlled by the expression b==true) do_something_else(); // unconditional (executes regardless of b's value) }


What statements that always have the same-truth value?

conditional and contrapositive + converse and inverse