Computer Science, asked by crazzygirl8383, 5 months ago

Q=21; p=19; q = --q + ++p + 20; system.out.println(q);

Answers

Answered by anindyaadhikari13
1

Answer:-

Given,

p=19

q=21

Now,

q= --q + ++p +20

>> q=20+22+20

>> q=62

Now, p=22

Hence, the value of p and q are 22 and 62.

Similar questions