What is the value of 'd after this line of code has been executed? double d= Math. round (2.5 math. random() );

What is the value of 'd after this line of code has been executed? double d= Math. round (2.5 math. random() ); 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

Related Questions