# C program to find Sum of N Natural Numbers

In this tutorial you will learn about the C program to find Sum of N Natural Numbers and its application with practical example.

## C Program to find Sum of N Natural Numbers

In this tutorial, we will learn to create a C program that will find Sum of N Natural Numbers using C programming.

## Prerequisites

Before starting with this tutorial, we assume that you are the best aware of the following C programming topics:

• Operators in C Programming.
• Basic Input and Output function in C Programming.
• Basic C programming.
• For loop in C programming.
• Arithmetic operations in C Programming.

## What is a Natural number?

The natural numbers are all those positive numbers from 1 to infinity. The set of natural numbers contains all whole positive numbers. The number with decimal points does not come under the natural numbers.

## Program to find Sum of N Natural Numbers.

In this program, we will first take the point up to which we want to sum from zero to that point from the user. Then we will generate the series up to that point. At last, we will add those numbers will print the sum of n natural numbers.

With the help of this program, we can Find Sum of n natural numbers.

## Output:-

In the above program, we have first initialized the required variable.

• n = it will hold the integer value.
• i = it will hold the integer value.
• sum = it will hold the integer value.

Input number from the user.

Program Logic Code.

Printing output.

In this tutorial we have learn about the C program to find Sum of N Natural Numbers and its application with practical example. I hope you will like this tutorial.