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.

Homework question:
A car's miles-per-gallon can be calculated with the following formula. MPG = Miles driven / Gallons of gas used. Design a program that ask's the user for the number of miles driven and the gallons of gas used. It should calculate the car's miles-per-gallon and display the result on the screen.

Please do NOT keep posting the same question, especially when you've already had a response.

http://www.jiskha.com/display.cgi?id=1278785949

Sure, I can help you with that. To solve this problem, you need to design a program that asks the user for the number of miles driven and the gallons of gas used, calculates the car's miles-per-gallon, and displays the result on the screen. Here's how you can approach it:

1. Start the program by displaying a message asking the user to enter the number of miles driven.
2. Read the input from the user and store it in a variable (let's call it "miles").
3. Display a message asking the user to enter the number of gallons of gas used.
4. Read the input from the user and store it in another variable (let's call it "gallons").
5. Calculate the miles-per-gallon using the formula: MPG = miles / gallons.
6. Display the calculated miles-per-gallon on the screen.

Here's an example of how the pseudocode for this program would look like:

```
1. Display "Enter the number of miles driven: "
2. Read miles
3. Display "Enter the number of gallons of gas used: "
4. Read gallons
5. Set MPG = miles / gallons
6. Display "The car's miles-per-gallon is: " + MPG
```

You can then convert this pseudocode into a programming language, such as Python, to create your program. Let me know if you need any further assistance!