WAP to find cube root in C++ programming language.
wwwalison8888a:
Can this be written in form of java....
Answers
Answered by
4
class Alison
{private int n=0,s=0;
public void accept(int n)
{s=math.sqrt(n);
System.out.println("The cube root is"+s);
}}
Variable Description....
s=int=to calculate the cube root.
n=int=to input the number of which cube root is to be taken out.
If any doubts plz comment below..
Similar questions