Computer Science, asked by jhumasaha196, 3 months ago

what is an if-statement​

Answers

Answered by eviln7
2

Answer:

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.

They ask the program if something is true, and tell it what to do next based on the answer. So, if statements essentially mean: 'If something is true, then do something, otherwise do something else.

Similar questions