Programming and Design

posted by .

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

  • 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 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.

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. CIS Design and Programming

    Design a program that calculates the total amount of a meal purchased at a restaurant. The program should ask the user to enter the charge for the food, and then calculate the amount of a 15 percent tip and a 7 percent sales tax. Display …
  2. programming

    I am in a beginners class in computer programming and we have been designing our programs in pseudocode format and this is a homework question I have to solve this is how the question is written on my paper...can you please help, Thanks. …
  3. programming

    I am in a beginners class in computer programming and we have been designing our programs in pseudocode format and this is a homework question I have to solve this is how the question is written on my paper...can you please help, Thanks. …
  4. programming

    I am in a beginners class in computer programming and we have been designing our programs in pseudocode format and this is a homework question I have to solve this is how the question is written on my paper...can you please help, Thanks. …
  5. Programming logic and design

    Design a program that lets the user enter the total rainfall for each 12 months into an array. The program should calculate and display the total rainfall for the year the average monthly rainfall, and the month with the highest and …
  6. 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; …
  7. 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
  8. 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 …
  9. Programming

    Design and plan the logic for a program that prompts the user for and allows the user to enter TWO numbers. The program outputs the sum of the two values. Provide declarations.
  10. 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?

More Similar Questions