Arithmetic Progression Term

Computer Mathematics Easy 2 views
Back to Questions

Problem Description

Given a1,d,n find n-th term.

Input Format

Three integers a1 d n.

Output Format

One integer.

Sample Test Case

Input:
2 3 5
Output:
14

Constraints

n>=1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next