Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sachinsaxena25/e54a2e4a38107cb4c1df2990f2ce99fa to your computer and use it in GitHub Desktop.
Save sachinsaxena25/e54a2e4a38107cb4c1df2990f2ce99fa to your computer and use it in GitHub Desktop.
#include<stdio.h>
int main(void){
int a = 0;
int b = 0;
int c = 0;
printf("please enter the number:\n");
scanf("%d", &a);
printf("please enter the number:\n");
scanf("%d", &b);
c = a > b ? a : b;
printf("Largest Number is: %d", c);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment