Login|Contact Us
Question and Answer

Programming

Ask a Programming Question, Get an Answer ASAP!

  • Ask A Question
  • Browse Answers
  • Meet The Experts
  • How JustAnswer Works

Hello sir, Please write me a C++ program that will calculate

 
Raj's Avatar
  • Answered by:Raj
  • Computer Engg.
  • Positive Feedback: 98.8 %
  • Accepted Answers: 856
Verified Expert
in Programming

Recent Feedback

Positive
Excellent work and exactly what I needed..Thanks!
Positive
Thank you Raj exactly what I am looking for can I ask for your help in the...
Positive
Great job!
Positive
Very knowledgeable. Explains everything, if you're struggling with an assignment...
Positive
Thanks
Positive
Thanks
Positive
Raj did the job fast an accurately!
Positive
Raj helped me quickly and taught me alot.
Positive
RAJ is great as always!

Customer Question

Hello sir,


Please write me a C++ program that will calculate how many miles per gallon a car gets. I want my odo meter reading at a certain point when my tank is full and then the next time I fill my tank.please note the current odometer reading and how many gallons I added. Please use functions for input and output and to determine the miles per gallon. Also let one function pass variable by refrence and use preconditions and postconditions in the function definitions.

Submitted: 1467 days and 19 hours ago.
Category: Programming
Value: $25
Status: CLOSED
Picture
Expert:  Raj replied 1467 days and 18 hours ago.

when do you need this code?

Customer replied 1465 days and 10 hours ago.

I need this code now

Picture
Expert:  Raj replied 1465 days and 10 hours ago.

It will take little time.....
but first i would like to know few things:

Every time there should be fresh start of the code or you need the older readings as well??
You said to pass variable by reference i.e. to pass the pointer am i right??

and it will be helpfull if you provide whatever is required......exactly

Customer replied 1465 days and 10 hours ago.

yes you are right.

Customer replied 1465 days and 10 hours ago.

yes

Customer replied 1465 days and 2 hours ago.

will i be able to get this code today

Accepted Answer

Picture
Expert:  Raj replied 1465 days and 1 hours ago.

I am done with your code

Please click here

Please find file attached.
It contains a "rar" file with .rar extension which can be unzipped using "winrar" or "winzip" application.
Inside it there is a file with name "program.cpp" thats the main coded file in C++.

Expert TypeComputer Engg.
Category: Programming
Pos. Feedback: 98.8 %
Accepts: 856
Answered: 4/6/2009

Experience: BE CS, 4+ Experience in Programming and Database (ERP)

Ask this Expert a Question >
 
Tweet

5 Programmers are Online Right Now

Ask Your Question Now
Programming Questions Date Submitted
C ProgrammingDecode LabYour assignment is to write a C 4/9/2013
Reference the following instructions to assist you when completing 4/8/2013
First you will present the pseudo code with all the modules 4/8/2013
NA-112 4/8/2013
The first programming project involves completing a program 4/8/2013
RA-201 4/7/2013
This is my final exam for my c programming class. It is due 4/7/2013
Program Description Your program will display (see the sample 4/6/2013
RA-211 4/3/2013
ra-614 4/2/2013
RSS
Next 10 >
Ask A Programmer
Type Your Programming Question Here...
characters left:

Top Programming Experts

See More Programmers

In The News

Nbc
Washington Post
New York Times
Cnn
Learn More

How It Works

  • Ask an Expert
  • Get a Professional Answer
  • Ask Followup Questions
  • 100% Satisfaction Guarantee
Learn More
close
Find Expert answers related to your question.
Sign up using email
We will never post anything without your permission.
Already have an account? Sign in

Ask a Programmer

Get a Professional Answer. 100% Satisfaction Guaranteed.
222 Programmers are Online Now
Type Your Programming Question Here...
characters left:
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.
Truste
Contact Us | Terms of Service | Privacy & Security | About Us
© 2003-2013 JustAnswer LLC