Computer Science, asked by sayan290, 3 months ago

1. Evaluate the given espression, when a = 7:-
a+ = a++ + ++a + --a + a--

2. Predict the output whien the following statements will get executed:
i) System.out.println (Math son (Math min (42.5.42.25));
ii) System.out.println(Math.rint(-9.44). Math.sqn(9.01).​

Answers

Answered by himanshu2006vps
1

Explanation:

1)39

2)i)-0.986

2)ii)Math.rint(-9.44).= -9.0

Math.sqrt(9.01).=3.001

You can see in the picture provided

Attachments:
Similar questions