Computer Science, asked by dev4494, 11 months ago

rewrite the following statement without using shorthand operators. (1. p / = q), (2. p - = 1 ),(3.p * = q +r), (p - = q - r). ​

Answers

Answered by amannishad0512p5zxh6
16

Shorthand operators         Without  using  shorthand operator                                                                            

1)    p/=q   --------->              p=p/q

2)   p-=1       ----------->          p=p-1

3)   p*=q+r    ---------->          p=p*(q+r)

4)    p-=q-r   ----------->          p=p-q-r

Mark me as brainlest @

Follow me for more programming related doubts.

Answered by sswaraj04
7

Answer:

Explanation:

p/=q

write it as -> p=p/q

p-=1

write it as -> p=p-1

p*=q+r

write it as -> p*(q+r)

p-=q-r

write it as -> p=p-(q-r)   'or'   p=p-q+r

Hope it helps :-)

..............

Similar questions