KCS151/KCS251 PPS Lab Exercise Dr. A.P.J. Abdul Kalam Technical University (AKTU), Lucknow KCS151 / KCS251 Programming for Problem Solving - Using C Language Lab Exercise 21. Write a program that simply takes elements of the array from the user and finds the sum of these elements. Sample Input and OutputStdin Inputs:2 5 8 7 4Sample Result:Input 1 element: 2Input 2 element: 5Input 3 element: 8Input 4 element: 7Input 5 element: 4Sum of elements: 26 Previous Next