Program to check Two numbers are equal are not January 01, 2018 Programing In C No comments #include<conio.h> #include<stdio.h> void main() { int a,b,c; clrscr(); printf("%d%d",&a,&b); c=a-b; if(c==0) { printf("A and B are equal"); } else { printf("A and B are not equal"); } getch(); } Output Enter the number A and B=3,4 A and B are not equal Enter the number A and B=4,4 A and B are equal Share This: Facebook Twitter Google+ Stumble Digg Email ThisBlogThis!Share to XShare to Facebook
0 comments:
Post a Comment