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 of miles driven and a current cost per gallon. The program computes and displays the cost of the trip as well as the cost if gas prices rise by 10 percent. The program accepts data continuously until 0 is entered for the number of miles. Use appropriate modules, including one that displays End of program when the program is finished. This is my problem any help is appreciated

  1. 👍 0
  2. 👎 0
  3. 👁 252
asked by Matt
  1. 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 of miles driven and a current cost per gallon. The program computes and displays the cost of the trip as well as the cost of gas prices rise by 10 percent. The program accepts data continuously until 0 is entered for the number of miles. Use appropriate modules, including one that displays End of program when the program is finished.

    1. 👍 0
    2. 👎 0
  2. Assuming the oceans level is currently rising at about 1.5 millimeters per year, write a program that displays a table showing the number of millimeters that the ocean will have risen each year for the next 25 years.

    1. 👍 0
    2. 👎 0

Respond to this Question

First Name

Your Response

Similar Questions

  1. IS

    Draw a flowchart, hierarchy chart , and pssseudocode for a program to solve the following problem. A student borrows $3,000 at an interest rate 2% per month

    asked by Anonymous on September 15, 2011
  2. IT/210

    Assignment: Currency Conversion Design · Complete the hierarchy chart in Appendix H and the flowcharts in Appendix I, based on the Currency Conversion requirements and Input-Process-Output table you generated in Week Two. ·

    asked by Kamari Davis on March 1, 2011
  3. 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

    asked by mello on February 18, 2016
  4. programming logic and design

    need help on creating a logic for a program that accepts input values for the projected cost of a vacation and the number of months until vacation

    asked by benita on May 31, 2015
  5. IT

    A project has been defined to contain the following list of activities along with their required times for completion. Activity No. Activity Time (Weeks) Immediate Predecessors 1 Colect requirements 2 - 2 Analyze processes 3 1 3

    asked by GaPeach2909 on May 26, 2012
  6. Computer programming

    Create the logic for a program that accepts inputs value for the projected cost of a vacation and the number of months until vacation. Pass both value to a method that displays the amount you must save per month to achieve your

    asked by Kathy on November 23, 2015
  7. computer programming

    Create the logic for a program that accepts input values for the projected cost of a vacation and the number of months until vacation. Both values must be greater than zero. Pass both values to a method named

    asked by alex on March 13, 2017
  8. programming

    3. Create the logic for a program that accepts input values for the projected cost of a vacation and the number of months until vacation. Pass both values to a method that displays the amount you must save per month to achieve

    asked by jeff on May 13, 2014
  9. Program Design and Development

    Design a Visual Logic flowchart for a program that prompts the user to enter ten numbers one at a time. After the user has entered all ten number the program will then print out the total of those ten number and quit? In Visual

    asked by Marc on February 12, 2017
  10. Programming

    In pseodocode, create the logic for a program that accepts input values for the projected cost of a vacation and the number of months until vacation. Pass both values to a method that displays the amount you must save per month to

    asked by Matt on August 18, 2014

More Similar Questions