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 12. Write a program to print the sum of all numbers up to the given number. Sample Input and OutputStdin Inputs:9Sample Result:Input number: 9Sum of all numbers up to 9 is 45. Previous Next