answersLogoWhite

0

In computer programming, a conditional statement is executed based on the logical evaluation of it's components. For example, and If..Then...Else is considered a conditional statement: If X = 15 then {do something } ELSE {do something else) The "If X = 15" is the condition being checked. It HAS to be either TRUE or FALSE.

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

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 method allows you to combine related conditional statements?

syllogism


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

syllogism


Short note on conditional statements in c?

Use them carefully.


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.


What Statements that have the same truth value?

conditional and contrapositive + converse and inverse


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

Deductive


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 is the relationship between the antecedent and consequent in conditional statements?

In conditional statements, the antecedent is the condition that must be met for the consequent to occur. The antecedent is like the "if" part of the statement, while the consequent is the "then" part that follows if the condition is satisfied.


Statements that always have the same truth-value are what?

conditional and contrapositive + converse and inverse


Statements that always have the same truth value are?

conditional and contrapositive + converse and inverse