Computer Science, asked by mannj123, 6 months ago

Evaluate the following Java expressions a, b, c are integers and d, f are floating point numbers. The
value of a = 5, b = 3 and d = 1.5.
(i) f = a+b/a
(ii) c = (int)d * a + b
(iii) c = (a++)*(int)d+a
(iv) f = (++b)*b – a
(v) c = a – (b++) * (--a)

Answers

Answered by AnindaBasu
0

Answer:

i) 5

ii) 8

iii) 11

iv) 11

v) -7

Similar questions