+ 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); } }
1 ответ
+ 7
Math.pow(2,3)
Is equal to 2^3
2^3 = 2 * 2 * 2 = 8
public class Program { public static void main(String[] args) { double p = Math.pow(2, 3); System.out.println(p); } }