Computer Science, asked by kanuqwerty50, 8 months ago

a = 48, b = 13 then a+ = b++*5/a++ + b is:
its java question​

Answers

Answered by arya1203
0

Answer:

a) a+=b++*5/a+++b

'a+=b' means add b to a.

'b++' means add 1 to b

Same goes for a++

This can be written as,

\frac{(a + b + 1)*5}{(a+1+b)}

(a+1+b)

(a+b+1)∗5

Inserting values,

\frac{(62)*5}{62}

62

(62)∗5

Which is equal to 5

To Solve:

b) c = ((a + 1)*6) + (1 + b)*5 + 10c=((a+1)∗6)+(1+b)∗5+10

Inserting values,

c = 30 + 20 + 10c=30+20+10

So, c = 60.

Similar questions