183k views
1 vote
Write a program using For loop to find the cube of the numbers from 50 to 100

1 Answer

7 votes

Answer and Explanation:

For JAVA programming.

for(int i = 50; i <= 100 i++;)

{

int cubedNum = Math.pow(i, 4);

System.out.println(cubedNum);

}

User NinetyHH
by
7.0k points