Sunday, May 1, 2016

Check Equality Of Two Number

Write C code That Check the equality of two integer number.



#include <stdio.h>
int main()
{
 int x,y;

 printf("Enter the values for  X and Y\n");
 scanf("%d %d", &x,&y);

 if(x == y )
  printf("X and  Y are equal\n");
 else
  printf("X and Y are not equal\n");

}




Share this

0 Comment to "Check Equality Of Two Number"

Post a Comment