Define conditional statement and iterative statement
Answers
Answered by
0
Answer:
A condition is any variable or expression that returns a Boolean value ( TRUE or FALSE ). The iteration structure executes a sequence of statements repeatedly as long as a condition holds true. The sequence structure simply executes a sequence of statements in the order in which they occur.
Answered by
2
Answer:
conditional and iterative statements are,
Explanation:
Iterative statement:
Iteration statements cause statements (or compound statements) to be executed zero or more times, subject to some loop-termination criteria.
ex: Loop
Conditional statement:
A common form of conditional statements in programming tells the computer that if the condition is true, do this Else, if the condition is false, do another thing.
ex: if, if else,switch
Similar questions