what is the value stored in variable res double res =Math.pow ("345",indexOf('5'),3);
A 8.0B 7.0C 6.0D 5.0
Answers
Answered by
3
Answer:
A 8.0
Explanation:
index of 5 in 345 is 2 .
pow(2,3) == 8.0
Answered by
1
Answer:
(A) 8.0
Explanation:
res = Math pow("345",indexOf('5'),3);
res = Math.pow(2,3);
res = 8.0
Similar questions
Computer Science,
4 months ago
English,
4 months ago
English,
4 months ago
English,
9 months ago
English,
1 year ago