+ 2

Why is my code not working? #2

int b=9, d=0, n=2; d = Math.floor(b / Math.pow(2,n));

14th May 2018, 3:23 PM
Ibaadi Jaya
Ibaadi Jaya - avatar
4 Respuestas
+ 2
use (int) before the Math.floor then ur code will be working
15th May 2018, 3:58 AM
Prakhar kumar pandey
Prakhar kumar pandey - avatar
+ 1
Thanks a lot 😀
14th May 2018, 10:07 PM
Ibaadi Jaya
Ibaadi Jaya - avatar
0
09-990-+53+$
26th May 2018, 12:26 PM
Azize Tarousse
Azize Tarousse - avatar