asked 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!

answered
User Drumbeg
by
8.0k points

No related questions found

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.