Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Evaluate the following expressions: 1. 15+18%3-20/6 2. 32%12+6-38/5*8 3. 5/9*(33.6-4.5) 4. 18.0 + 5.0*3.0/4.0 Suppose x, y, z and w are int variables. Assume each

image text in transcribed

Evaluate the following expressions: 1. 15+18%3-20/6 2. 32%12+6-38/5*8 3. 5/9*(33.6-4.5) 4. 18.0 + 5.0*3.0/4.0 Suppose x, y, z and w are int variables. Assume each statement line is lexecuted in succession, one after the other, what value is assigned to (Ctrl) of those variables AFTER the last statement is executed? Only one answer for each variable please. x=15; y=18; Z=X-5/x; = x=z-y; y=x+2*z; w=z-y+2*z; W ++; z=2*x+W

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions