A Chartered Financial Analyst wants a program that willproduce a report to show her clients the benefits of saving forretirement. The report should show 4 predicted accountvalues for each client (each on a separate page). The report will assume the client will invest $10,000 ayear for 10, 20, 30 or 40 years. The report will showthe return when $10,000 is invested annually and will earna 9% rate of return.
Example:?Read fromFile: ? client name:Anthony Martin? client address:123 Main Street, Anytown USA
Sample Calculations:? balance year 0 =10000 (initialinvestment)? balance year i =balance year i-1 times 1.09 + 10000 (i = 1 to 40)
Sample Account Balances:? balance at 10years: $175,605? balance at 20 years:$567,645? balance at 30 years:$1,495,750? balance at 40years: $3,692,920
Your logic should produce a table formatted as follows:
account balance at 10 years
|
account balance at 20 years
|
account balance at 30 years
|
account balance at 40 years
|
a) Identify required variables and choose descriptive names anddata types for each.?b) Draw the hierarchy chart for thisprogram.?c) Write the pseudocode for this program.