Asked by Lauren
                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.
            
        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.
Answers
                    Answered by
            bobpursley
            
    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"
    
input interest rate in decimal format:
input time in years:
compute value=Money*(1+interest)^time
display value
Print" That's all Doc"
                    Answered by
            gene
            
    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
    
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
                                                    There are no AI answers yet. The ability to request AI answers is coming soon!
                                            
                Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.