+ 2

Please explain program how get answer 8

public class Program { public static void main(String[] args) { double p = Math.pow(2, 3); System.out.println(p); } }

21st Apr 2019, 11:09 PM
Priyanka Gotugade.
Priyanka Gotugade. - avatar
1 ответ
+ 7
Math.pow(2,3) Is equal to 2^3 2^3 = 2 * 2 * 2 = 8
21st Apr 2019, 11:17 PM
Anya
Anya - avatar