Arithmetic and Geometric Sequences and Series Solver

A program that will identify and then solve Arithmetic and Geometric Sequences and Series
after the user inputs the first three terms, a desired unknown term to be calculated,
and a starting and ending term for finding the sum of the related series.

The Arithmetic Sequence and Series Formulas used are:

The Geometric Sequence and Series Formulas used are:

This program is written in JavaScript.

By Mr. C. July 18, 2015