write a program to find out the number of cube whose value is given as 6 in computer
Answers
Answered by
1
class cube
{
public static void main (int a)
{
int cu=0;
cu=a*a*a;
System.out.println ("the cube of entered number is:"+cu);
}
}
Answered by
0
Answer:
class cube
public static void main (int a)
int cu=0;
cu=a*a*a;
System.out.println ("the cube of entered number is:"+cu);
Explanation:
Similar questions