Statement C Tutorial

If a compound statement is used, it must be enclosed in opening and closing braces.

#include
main()
{
   int i=5, j =1;
   
    if (i > j){
        i = i + 1;
        printf("%d",i);
    }   
    else
        j = j +1;
}
6