// A program to find the cube of a number.
// A program to find the cube of a number.
import java.util.Scanner;
class cube
{
public static void main(String[] arg)
{
Scanner sc = new Scanner(System.in);
System.out.println(" write any number:");
int d=sc.nextInt();
System.out.println(d*d*d);
}
}
Comments
Post a Comment