syntax of if statement code example
Example: syntax of if stmt
if (condition)
{
//Block of C statements here
//These statements will only execute if the condition is true
}
if (condition)
{
//Block of C statements here
//These statements will only execute if the condition is true
}