C LANGUAGE - TO FIND MAXIMUM NUMBER BETWEEN TWO... USING IF STATEMENT

//Find maximum number between two #include<stdio.h> int main() { int a,b,max; printf("Enter two numbers : "); scanf("%d %d",&a,&b); if(a > b) max = a; else max = b; printf("Max is %d",max); return 0; }
Note: Click on copy button to copy the given code and you can paste it in any online compiler to see the result, IF YOU ARE A MOBILE USER THEN DOWNLOAD "CODING C"(Free App) COMPILER FROM GOOGLE PLAY STORE.