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 print hello world in java

 

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