Write a program to print cubes of first 15 natural numbers.
Answers
Answered by
0
Answer:
Explanation: {
int sum = 0;
for (int x=1; x<=n; x++)
sum += x*x*x;
return sum;
}
Answered by
0
Answer:
960 is an correct answer
Similar questions