If int n[ ] ={1, 2, 3, 5, 7, 9, 13, 16}what are
the values of x and y? Where x= Math.
pow(n[4], n[2]) and y= Math. sqrt ( n[5] + n [7]
)
Answers
Answered by
22
Answer:
Your answer is: x=343.0 and y=5.0
Explanation:
n[4]=7
n[2]=3
Math.pow(n[4],n[2])==343.0 (∵Math.pow returns double value)
n[5]=9
n [7]=16
Math. sqrt ( n[5] + n [7]===5.0 (∵Math.sqrt returns double value)
Answered by
0
Answer:
what if x=n.lenght???
Similar questions
Social Sciences,
5 months ago
Social Sciences,
5 months ago
Science,
10 months ago
Science,
10 months ago