Created
July 19, 2016 12:36
-
-
Save wohhie/df95c73e7a017c1917e5a66d36e72fe3 to your computer and use it in GitHub Desktop.
C program to accept two integers and check if they are equal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() { | |
int m, n; | |
printf("Enter num1 : "); | |
scanf("%d", &m); | |
printf("Enter num2 : "); | |
scanf("%d", &n); | |
if (m == n) { | |
printf("They are equal"); | |
} | |
else { | |
printf("Not Equal"); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment