What is conditinal statement?Explain with Syntax.
No spam answer is accepted or else your device is on danger. ☠️
Answers
Answered by
1
Answer:
computer science
Explanation:
In computer science, conditional statements, conditional expressions and conditional constructs are features of a programming language, which perform different computations or actions depending on whether a programmer-specified boolean condition evaluates to true or false.
Answered by
1
Conditional statements make use of Boolean logic to decide what to do in a program.
For ex. in python
tomatoes = 69
if tomatoes < 69:
print("buy more tomatoes")
else:
print("we have many tomatoes!")
Similar questions