Computer Science, asked by baski3d, 6 months ago

1. If p = 5 Find w = ++p + --p + p--
2. If s = 10 find a= s++ + ++s + --s
3. If g = 25 find y= g + --g + g

Please solve all correctly and no scam.

Answers

Answered by anindyaadhikari13
2

Question 1:-

If p=5, find w when w=++p + --p + p--

Solution:-

Given,

p=5

w = ++p + --p + p--

Or,

w=6+5+5

Or,

w=16

Now,

p=4

Answer:-

w=16

p=4

Question 2:-

If s=10, find a when a=s++ + ++s + --s

Solution:-

Given,

s=10

a=s++ + ++s + --s

Or,

a=10+12+11

Or,

a=33

Now,

s=11

Answer:-

a=33

s=11

Question 3:-

If g=25, find y if y=g+--g+g

Solution:-

Given,

g=25

y=g+--g+g

Or,

y=25+24+24

Or,

y=73

g=24

Answer:-

y=73

g=24

Answered by amityadav7246
0

Answer:

6+4+5=15

2)10+11+9=20

3)25+24+25=74

Similar questions