int a= 5, b = 2.,c=2;
(a>b || a ! = b)
c=++a + b;
System.out.print(c+""+a+ “ "+b);
Answers
Answered by
4
if(a>b || a! =b) // this condition is true
c=++5 + 2 // ++ is pre-increment
c=6+2
c=8
Output is :----> 85 2
For more java related doubts follow me on Instagram, YouTube and brainly,for more details pls see check my profile.
Similar questions