Computer Science, asked by ashakabraham5148, 5 months ago

If(a>b||a>c) System.out.println rewrite without using logical operators

Answers

Answered by Bibashwan
0

Explanation:

if(a>b){

//code to be executed

System.out.printIn("a is greater than b");

}

else if(a>c){

//code to be executed

System.out.printIn("a is greater than c");

}

Similar questions