Find the Nth-term in a given arithmetic progression
Given a first element a and common difference d of an arithmetic progression. Write a program to find the nth term in that progression. wiki: An arithmetic progression or arithmetic sequence is a sequence of numbers such that the difference between the consecutive terms is constant. For instance, the sequence 5, 7, 9, 11, 13, 15, . . . is an arithmetic progression … Read more