diff --git a/Find largest of TWO number in C b/Find largest of TWO number in C new file mode 100644 index 0000000..abec863 --- /dev/null +++ b/Find largest of TWO number in C @@ -0,0 +1,24 @@ +* C Program to Find Largest of Two numbers */ + +#include + +int main() { + int a, b; + printf("Please Enter Two different values\n"); + scanf("%d %d", &a, &b); + + if(a > b) + { + printf("%d is Largest\n", a); + } + else if (b > a) + { + printf("%d is Largest\n", b); + } + else + { + printf("Both are Equal\n"); + } + + return 0; +}