Computer Science, asked by kalikantroy27, 29 days ago

Write a program to print cubes of first 15 natural numbers.​

Answers

Answered by lalalarosie
0

Answer:

Explanation:   {

       int sum = 0;

       for (int x=1; x<=n; x++)

           sum += x*x*x;

       return sum;

   }

Answered by yogitataral
0

Answer:

960 is an correct answer

Similar questions