Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //https://www.facebook.com/AminproPastebin
- #include <stdio.h>
- int main (void)
- {
- int a;
- int b;
- printf("Enter 2 intergers: ");
- scanf("%d %d", &a, &b);
- if(a < b){
- printf("%d is larger", b);
- }
- else if( b < a){
- printf("%d is larger", a);}
- else if ( a = b){
- printf("%d is equal to %d", a, b);}
- getchar();
- getchar();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement