58.4k views
0 votes
Consider the following code: int x = 8; int y = 17; if (x != y) System.out.print ("one"); else if (x > y) System.out.print ("two"); else if (y < x) System.out.print ("three"); else if (y >= x) System.out.print("four"); else System.out.print("five"); What is the output? five three one four two

1 Answer

4 votes

Mom bring the eggs please ima cook breakfeast this time sorry mom!

User Drumbeg
by
8.0k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.

9.4m questions

12.2m answers

Categories