2. Write a CH function to find the sum of the first n natural numbers. The sum of the first n natural numbers is given b
Posted: Sat May 14, 2022 3:36 pm
2. Write a CH function to find the sum of the first n natural numbers. The sum of the first n natural numbers is given by the following formula: Sum n(n+1) 2 Your main program should ask the user for the value of n and then call the function which should return the sum back to the main program. a. Draw the flowchart of the whole program using the following link.