rewrite the following using if else statement
int a =10;int b =30;c=(a>b)?true:false
anitadembla557p470z3:
true
Answers
Answered by
1
int a= 10, b=30;
if(a>b)
System.out.print("true");
else
System.out.print("false");
if(a>b)
System.out.print("true");
else
System.out.print("false");
Similar questions