write a program in java to print the cube of first five natural numbers
Answers
Answered by
1
Answer:
First follow me on brainly by this Id
Answered by
0
Answer:
class Cube
{
public static void main(String[]args)
{
for(int i = 1 ; i <= 5 ; i++)
System.out.println(i*i*i);
}
}
Explanation:
Similar questions