Program to print GP (Geometric Progression)
Given first term (a), common ratio (r) and a integer n of the Geometric Progression series, the task is to print the n terms of the series.Examples: Input : a = 2 r = 2, n = 4Output : 2 4 8 16Approach : We know the Geometric Progression series is like = 2, 4, 8, 16, 32 ....... In this series 2 is th