Friday, 5 September 2014

NPTEL Programming in c - Sums of Powers of Numbers

In this program, you are given an input N, which is a positive integer less than or equal to 40. Write a program to find the sums of fourth powers of the first N numbers.

Sample Input
2

Sample Output
17


Note : NPTEL follows gcc compiler which doesn't supports conio.h package and it always to be started as int main() and should return a integer value

0 comments:

Post a Comment