What is the value of 'd after this line of code has been executed? double d= Math. round (2.5 math. random() );
A
2
B
2.5
C
3
D
4
Correct Answer: 3
Round different numbers to the nearest integer : Var a = Math.round(2.60); Ans : 3 Var b = Math.round(2.49); Ans : 2 Var c = Math.round( - 2.50); Ans : - 3