47. if int n[] = {1, 2, 3, 5,
7,9,13,16 } what is the value
of Math.sqrt (n[5]+ n[7]);
Answers
Answered by
1
Question:-
If int n[] = {1,2,3,5,7,9,13,16} then find the value of Math.sqrt(n[5]+n[7])
Solution:-
Given,
n[]={1,2,3,5,7,9,13,16}
n[5]=9
n[7]=16
Therefore,
Math.sqrt(n[5]+n[7])
=Math.sqrt(9+16)
=Math.sqrt(25)
=5.0
Hence, the result is 5.0
Similar questions