C program to find max of two unequal numbers






#include<stdio.h>
int main(){
    int a,b,max;
    scanf("%d %d",&a,&b);
   
    if(a > b)
         max = a;
    else
         max = b;

    printf("%d",max));
    return 0;
}




No comments: