# Arithmetic and Geometric Progression

Learn to determine arithmetic and geometric progressions.

## We'll cover the following

## Challenge

Write two programs to determine if the integers in an array follow either an arithmetic or geometric progression.

**1.** `isAP ( )`

An arithmetic progression is one where the difference between each successive pair of integers is constant.

**Example:**

In the array [2, 4, 6, 8] the difference between the integers is always 2.

Get hands-on with 1400+ tech skills courses.