Question: 1. Write a C program to find the sum of first n natural numbers. Hints: Create an array of 10 elements Enter the values automatically
1. Write a C program to find the sum of first n natural numbers. Hints: Create an array of 10 elements Enter the values automatically in the array. Finally find the sum. Example: The first 10 natural numbers are: 1 2 3 4 5 6 7 8 9 10 The Sum is: 55
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
