Programming Logic and Design
posted by Lauren on .
This is my 3rd time posting this problem because I didn't get any help before...assistance would be appreciated.
Create the logic for a program that calculates and displays the amount of money you would have if you invested $3000 at 2.65 percent interest for one year.
Create a separate method to do the calculation and display the result.

input amount money invested:
input interest rate in decimal format:
input time in years:
compute value=Money*(1+interest)^time
display value
Print" That's all Doc" 
start
Declarations
num balance
balance = computeBalance()
output "After one year the balance is", balance
stop
balance = computeBalance()
num computeBalance()
Declarations
num balance
num PRINCIPAL = 3000
num INTEREST_RATE = (add interest rate)
balance = PRINCIPAL * (1 + INTEREST_RATE)
return balance