Program to illustrate if statement in C language

#include <stdio. h>
int main( )
{ 
int x, y;
  x=3;
  y=5;
  if( x<y)
   y=x++;
  printf(“\n x = %d, y = %d. \n”, x, y) ;
  return 0;
}

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.