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 program to find the reverse of a number using function in C.