0
Need Help in jave Program
The biggest number among 3 number input https://code.sololearn.com/c9RZ4e6jNBnr/?ref=app
3 Respostas
+ 2
Karan singh
You have to assign string value to a string variable so do this:
String abc = (a > b || a > c) ? "a is largest number" : (b > c) ? "B is big" : "c is big";
System.out.println (abc);
+ 1
Karan singh
println is a void method so you cannot assign to a integer variable.
0
A͢J write the right code Please 🙏