Whats wrong with my code

second test case is coming out to be wrong.
whats the problem

correct condition is:

        if (a>=b && a>=c)
    		cout << a << endl;
    	else if(b>=a && b>=c)
    		cout << b << endl;
    	else cout << c << endl;

also check when no.s are equal

Modified Code:

I hope this helps