Computer Science, asked by bhatbhargavi06, 5 months ago

Rerite without using logical operator:

if (a>b || a>c)
System.out.println("a");​

Answers

Answered by arnavvats2020
1

Answer:

class ternary

{

public static void main()

{

int a;int b,c;

int t=a greater than b?a greater than c?a:c;

System.out.println(t);

}

}

Explanation:

Similar questions