Skip to main content

Write a program that uses a while loop to compute and prints the sum of given numbers of cubes. For example, if 3 is input, then the program should print 36, which is equal to 1^3+2^3+3^3


 

Comments

Popular posts from this blog

Write a c program to traverse the array elements of 2D array.

 

Write a program to demonstrates the concept of pointer arithmetic in c.