Question: Write a program in Java to display the cube of the number up to given an integer. [04] Sample output: Input number of terms :

Write a program in Java to display the cube of the number up to given an integer. [04] Sample output: Input number of terms : 4 Number is: 1 and cube of 1 is : 1 Number is 2 and cube of 2 is : 8 Number is : 3 and cube of 3 is : 27 Number is : 4 and cube of 4 is : 64
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
