Advertisements
Advertisements
Question
If int n[] = {l, 2, 3, 5, 7, 9, 13, 16}, what are the values of x and y?
x = Math.pow(n[4], n[2]);
y = Math.sqrt(n[S] + n[7]);
Answer in Brief
Solution
The value of x = 343
The value of y = 5
shaalaa.com
Is there an error in this question or solution?