Post a New Question

programming

posted by .

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.

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. Programming

    Hi. I am taking a computer programming class (C++). I need some help on some programs. I tried going to my teacher - he was of no help and there are no tutors. I have a lot of code, but I'm having problems. I looked online for help, …
  2. 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 …
  3. Computer Programming

    can anyone give me site about programming I need a sample c or c++ source code. a program must have a description.. 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

    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. …
  6. IT/210

    Assignment: Chapter 5 Programming Problems · Complete Programming Problems 1 and 2. · Provide the analysis, pseudocode and test cases using the template submitted in Week 6 only (no diagrams are required). Chapter 5 Programming Problem …
  7. computer science

    Mr Ali has given a test to his class. He would like to have the average score for the class as well as the highest and lowest scores. Write a pseudocode to calculate and display these values. Then convert your pseudocode into a program …
  8. Programming

    Hi guys! I have a humanitarian turn of mind, and that's why just can't understand programming. On the other hand, I don't want to spoil my average performance. Thus, I have to use homework-help online services, like Homework-Desk. …
  9. Computer Literary

    Which of the following is Not an example of debugging A)Looking for errors in programming code B)Fixing misspelled commands in programming code C)Solving faulty logic in programming code D)Upgrading to improve the programming code
  10. Programming c++

    Hello, sorry if its possible i want a code written in c++. question. Write the pseudocode for a program to calculate the wages of a sales according to the following rules. The wage is calculated at a rate of 15% of sales. If the salesman …

More Similar Questions

Post a New Question