if Statement with else Statement  : Tutorial on If

  1. Example : 
             void main ( )
             {
             int x = 10 ;
             if ( x  > 0  )
                      printf (“n Number is Positive”);
             else
                      printf (“n Number is Negative”);

             }