Programming Logic and Design

posted by .

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.

  • Programming Logic and Design -

    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"

  • Programming Logic and Design -

    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

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. Logic and Design

    I need help with pseudocode, and any help regarding forming these programs in Visual Logic would be helpful as well. Question 1: You have been asked to design the logic that will display each of the following lines to a screen. John …
  2. Programming and Design

    Draw the hierarchy chart and design the logic for a program that calculates the projected cost of an automobile trip. Assume that the user's car travels 20 miles per gallon of gas. Design a program that prompts the user for a number …
  3. programming

    Create the logic for a program that continuously prompts the user for a number of dollars until the user enters 0. Pass each entered amount to a conversion method that displays a breakdown of the passed amount into the fewest bill; …
  4. Programming Logic and Design: Comprehensive, 6th E

    Create the logic for a program that continuously prompts the user for a number of dollars until the user enters 0. Pass each entered amount to a conversion method that displays a breakdown of the passed amount into the fewest bills; …
  5. Programming

    Thanks for the help on my last problem! I have one more thing I need help with... 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 …
  6. Programming

    Thanks for the help on my last problem! I have one more thing I need help with... 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 …
  7. programming

    create the logic for a program that calculates and displays the amount of money you would have if you invested $5000 at 2 percent simple interest for one year. create a separate method to do the calculation and return the result to …
  8. programming

    Design a program that calculates and displays the amount of money you would have if you invest $5000.00 at 2 percent simple interest for one year. call a function and pass the needed data to do the calculation and return the result
  9. Programming logic and design

    Using python write a program that does the following: •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 …
  10. programming logic and design

    Using a flowchart write a program that does the following: •Create the logic for a program that accepts input values for the projected cost of a vacation and the number of months until vacation. Use both values to totals that displays …

More Similar Questions