Computer Science, asked by janhvisingh9935, 1 day ago

Answer the following questions:
(a) If x= 15, y = 3 and z = 6 initially then write the value stored in variable w after evaluating the following:

w=(x - y++) % (z ++);​

Answers

Answered by aaravaki2106
1

Answer:

x=15 , y=3, z=6\\(x-y++)=(15-3) =12 \\\\

since its y++ , now y is incremented by 1 so now-

y=4\\

(z++) = 6

so the full answer of w will be

12%6=0

the answer is 0.

Explanation:

Answered by siddhisharma2nov2008
0

Answer:

0

Explanation:

Now as it is already given the values so we will substitute them→

w= ( 15-3)%(6++)

% means the remainder so the remainder is 0

Similar questions