Rewrite the following condition without using logical operators: if ( a>b || a>c ) System.out.println(a);
Answers
Answered by
29
if(a>b)
{System.out.println(a);}
else if(a>c)
{System.out.println(a);}
Similar questions