110k views
2 votes
I need help with my work

I need help with my work-example-1

1 Answer

2 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 Matt Schwartz
by
4.7k points