Write a c program to print a table of the powers of a user


Program: Write a C program to print a table of the powers of a user specified range of integer numbers. The program should also print the sum of the powers of the numbers. Specifically, the program should first prompt the user to enter the range of integer numbers (by simply asking for the upper limit of the range- refer sample output), then prompt the user to enter which power to find, compute the powers of the numbers from 1 to the upper range and print them as a table, and finally print the sum of the powers. 

You can suppose that the upper limit of the range that the user provides is not more than 100 and the power the user requests is not more than 8.

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write a c program to print a table of the powers of a user
Reference No:- TGS0954057

Expected delivery within 24 Hours