Top-Down Approach

I need help with a problem and to put together a program solution.
problem solving, arithmetic operations with parenthesis in expressions,
and with the use of INPUT, LET, PRINT, GOSUB, and RETURN statements.

Problem: design a program flowchart and write a top-down modular program to determine the maturity value of an investment D dollars Y years at P percent
converted quarterly. Use following formula:

S = D(1+P/M)YM S = maturity value
D = investment in dollars
P = nominal rate of interest
Y = time in years
M = number of conversions per year

Hint: program solution must include a statement to change the rate from percent form to decimal form.

use top-down chart:

Maturity
Value of an
Investment
|
------------------------------------|----------------------------
| | |
A100 B100 C100
INPUT DATA CALCULATE MATURITY PRINT MATURITY

INPUT DATA:

INVESTMENT: $5,000
INTEREST: 5.25%
TIME: 2 YEARS 3 MONTHS
CONVERSIONS: 4

OUTPUT RESULTS:
Please enter the:
Investment in $ ======> 5000
Nominal rate in % ====> 5.25
Time in years ========> 2.25
No. of Conversions ===> 4
Maturity value ==============> $ 5622.602


I need someone to help me with this so I have an example to reference and
look at for other problems.

Thank you : )
Topic archived. No new replies allowed.