Home C MAXIMUM OF 2 in C Programming MAXIMUM OF 2 in C Programming / July 21, 2017 MAXIMUM OF 2 in C Programming Code: #include<stdio.h> int main(){ int a,b; scanf("%d",&a); scanf("%d",&b); if (a>b) printf("%d is the maximum number",a); else printf("%d is the maximum number",b); return 0; }
No comments