how do I find highest number among three inputs? Can anyone help me to find out the solution? This is simple mistake but it is hard for me to find out the mistake.
#include<stdio.h>
int main(){
int a,b,c,d;
printf("enter first number");
scanf("%d",&a);
printf("enter second number");
scanf("%d",&b);
printf("enter third number");
scanf("%d",&c);
if(a<=b>=c){
printf("higest number is b %d",b);
}
else if(b<=c>=a){
printf("higest number is c %d",c);
}
else if(c<=a>=b){
printf("higest number isd %d",a);
}
return 0;
}