Design and implement an Ada program that will output the first 9 terms of a geometric progression (g.p.) and the sum of the terms. Remember that the standard form of a geometric progression is:
Where:
Assume that a and r are integers supplied by the users within the range of -10 to +10.
You should hand in a report comprising the following sections:
Marks will be distributed evenly over design, implementation and testing. Refer to guidance notes on the presentation of work if necessary.
Created and maintained by Frans Coenen. Last updated 11 October 1999