419,054 views
27 votes
27 votes
I need help with my work

I need help with my work-example-1
User Harry Blue
by
2.8k points

1 Answer

22 votes
22 votes

Answer:

totally

awesome

Step-by-step explanation:

You can evaluate the expressions in the statements by hand:

if (a*b!=c) evaluates to

if (2*3 != 11)

if (6 != 11)

if (true)

so the next line is executed (it prints 'totally')

Likewise, the other if statement also evaluates to true.

User Steven Licht
by
2.8k points