Write a program in java to compute the following and depict the output for each. (1)Square root of the number ( n=25) (ii)Cube of the number (n=3) (iii) Cube root of a number (n=27)
Answers
Answered by
0
Answer:
Input: x = 4
Output: 2
Explanation:
The square root of 4 is 2.
Input: x = 11
Output: 3
Explanation: The square root of 11 lies in between
3 and 4 so floor of the square root is
Similar questions