Write a c program to find out the sum of an A.P. series.

By: Prof. Fazal Rehman Shamil
Last modified on April 24th, 2020

Write a c program to find out the sum of an A.P. series.

Flowchart of the program to find out the sum of an A.P. series.

Flowchart of the program to find out the sum of an A.P. series. in C++

C++ program to find out the sum of an A.P. series.

Output

Input the starting number: 2

Input the number of items: 4

Input the common difference: 6

the Sum of the A.P. series are :

2+8+14+20=44

Get Appointment for Interviews

Feel easy to Get Appointment for Interviews. Whatsapp: +92-302-8700085
Prof. Fazal Rehman Shamil
Latest posts by Prof. Fazal Rehman Shamil (see all)