143k views
0 votes
What is the output for the code?

What is the output for the code?-example-1
User Rdupz
by
8.0k points

1 Answer

4 votes

Answer:

8

Step-by-step explanation:

c is less than a (c = 3; a = 4)

c is also less than b (c = 3; b =8)

the else if (c<a && c<b) has arguments that are met. hence the output being 8.

User Touchmarine
by
8.3k points

No related questions found