answersLogoWhite

0


Best Answer

A conditional expression means 'do something only if certain conditions are met'. For example, consider this short BASIC program...

10 a=0

20 b=a+1

30 PRINT b

40 GOTO 20

Will produce every number unless the break key is pressed. However, changing line 30 to a conditional expression, as in this program...

10 a=0

20 b=a+1

30 IF b/10=INT (b/10) THEN PRINT b

40 GOTO 20

Would only display a value every time the condition in line 30 is met. It still adds 1 to b every time it loops round, but would display only the numbers that divide exactly by 10.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What do you mean by conditional expression?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What Java conditional expression correctly represents the mathematical expression 10 x 100?

There is no need for a conditional expression; just write it as 10 * 100.


The IF part of a conditional statement?

The IF part of a conditional statement sets the condition or criteria that needs to be met for the subsequent action to occur. It is the part that is evaluated as either true or false, determining the flow of the statement.


Can you Compare while and do-while?

The 'while' statement evaluates its expression at the beginning of the loop, while a 'do while' statement evaluates its expression at the end of the loop. The 'while' statement might execute no times. The 'do while' statement will execute at least one time. It depends on what you want to do, and on how you want to use the side effects, if any, of the expressions in the expression. (Before or after)


What is the conditional operators in c language?

The conditional operator is also known as ternary operator. It is called ternary operator because it takes three arguments. The conditional operator evaluates an expression returning a value if that expression is true and different one if the expression is evaluated as false.Syntax:condition ? result1 : result2If the condition is true, result1 is returned else result2 is returned.


What is conditional sentence?

In computer programming, "sentence" is not used. "Conditional sentence" sure sounded like Judicial jargon.Instead, a conditional expression is like:1 < 22


What function is allow for the selection of 1 of 2 possible answers based on the result of a conditional expression?

There are may conditional functions. The most common is the IF function.


What is an expression mathematically?

An expression consists of numbers and variables that may be linked by mathematical functions. Other than in a conditional phrase, an expression may not contain an equality or inequality.


What are conditional operators in C language?

The conditional operator in C (and C++, C# and other languages) consists of two symbols, '?' and ':'. Together, they can be used to form an expression from three subexpressions:e1 ? e2 : e3The conditional operator is evaluated in two steps; first, the expression e1 is evaluated, if it has a true value, then e2 is evaluated and its value is returned as the result of the entire expression, otherwise (if e1 is false) e3 is evaluated and its value is returned as the result of the entire expression.


What does expression mean in math term?

It is a formula with an equal sign * * * * * No. Each side of the equal sign is an expression but the whole is an equation. An expression is a combination of numbers and operators without an equality (or inequality) sign. [Actually, such signs may appear in conditional values, but that is getting seriously pedantic!]


What does conditional pacifism mean?

no


What does conditional loan approval mean?

i do no


What is a do-while loop?

A while loop evaluates the conditional expression at the start of each iteration, whereas a do..while loop evaluates the conditional expression at the end of each iteration. Thus the do..while loop always executes at least one iteration.