Arithmetic Progression C Program

C Program To Calculate Arithmetic Progression

Learn How To Calculate Arithmetic Progression in C Programming Language. This C Program For Arithmetic Sequence Computation is done using Two Methods viz. For Loop and While Loop. In an Arithmetic Progression Series, every consecutive element has a Constant Difference between every Two Terms.

What is Arithmetic Progression?

An Arithmetic Sequence or Arithmetic Progression is a sequence or series of Numbers in such a way that the difference between the Two Consecutive Terms is Constant. This means that the preceding term and the following terms will have the same difference.

Therefore, an Arithmetic Progression is a Series in which every next term after the first term is computed by adding the Common Difference (entered by the User) and the the Preceding Term.

Let’s assume that the First Term is A and the Common Difference is D. Therefore, the terms in an Arithmetic Series will be as follows:

A, A + 1D, A +2D, A+ 3D

The Nth Term will be: A + (N – 1)*D

Example For Arithmetic Series

1 5 9 13 17 21 25

Arithmetic Sequence Formula

AN = A1 + (N – 1)D

C Program To Calculate Arithmetic Sequence using For Loop

Find Arithmetic Progression in C Programming using While Loop


C Program To Calculate Arithmetic Progression using While and For Loop

If you have any compilation errors or doubts in this C Program To Calculate Arithmetic Progression, let us know about in the Comment Section below.

Recommended Programs
Replace a Character in Strings in C Programming
C Program To Find Distance Between Two Points
C Program To Find Special Number
C Program To Find Narcissistic Number
C Program To Check if Character is Alphabet or Digit
100+ C Programs For Programming Interviews

Tushar Soni

I am Tushar Soni, Co - Founder of CodingAlpha. I am a computer science student from India and passionate about Web Development and Programming. Connect with me on Facebook | LinkedIn | Google Plus

3 thoughts on “Arithmetic Progression C Program

  • July 31, 2016 at 2:42 pm

    Can we make up a program to find arithmetic progression in using Function? It will help me to modularize the program.

    • July 31, 2016 at 8:03 pm

      Yes! This C Program for Arithmetic progression can be developed using functions. You just need to copy the data within the for loop inside a separate user defined function

  • September 14, 2016 at 1:08 am

    Perfect Explanation to Print Arithmetic Progression in C Programming. Thanks.


Join The Discussion