conditional statement of if syntax
Answers
Answered by
0
condition is tested. If condition is True , the statements following Then are executed. If condition is False and ther
Answered by
0
If conditional statement:
Explanation:
Syntax:
If(condition to be check)
{
//print values
}
Example:
int a=0;
if(a==0)
{
printf("value is match");
}
- The If statement is used to executes when the given condition is true.
- This statement is used to declare an effect and executes the flow of a program.
- This system is using the curly braces { } to print its value when the condition is true.
- This code will print a value, that is "value is match".
Learn more:
- Conditional statement in Q basic code: https://brainly.in/question/6871971
Similar questions
Computer Science,
7 months ago
Physics,
1 year ago
Math,
1 year ago
Science,
1 year ago
Math,
1 year ago