Alpha Geek

(8)

$10/per page/Negotiable

About Alpha Geek

Levels Tought:
University

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Environmental science,Essay writing,Programming,Social Science,Statistics Hide all
Teaching Since: Apr 2017
Last Sign in: 438 Weeks Ago, 2 Days Ago
Questions Answered: 9562
Tutorials Posted: 9559

Education

  • bachelor in business administration
    Polytechnic State University Sanluis
    Jan-2006 - Nov-2010

  • CPA
    Polytechnic State University
    Jan-2012 - Nov-2016

Experience

  • Professor
    Harvard Square Academy (HS2)
    Mar-2012 - Present

Category > Programming Posted 03 May 2017 My Price 7.00

Write a program that computes the fuel efficiency

 Write a program that computes the fuel efficiency of a multi-leg journey. The program will first prompt for the starting odometer reading and then get information about a series of legs. For each leg, the user enters the current odometer reading and the amount of gas used (separated by a space). The user signals the end of the trip with a blank line. The program should print out the miles per gallon achieved on each leg and the total MPG for the trip.

 

Answers

(8)
Status NEW Posted 03 May 2017 09:05 AM My Price 7.00

-----------

Attachments

file 1493805304-answer1.docx preview (241 words )
Â----------- Wr-----------ite----------- a -----------pro-----------gra-----------m t-----------hat----------- co-----------mpu-----------tes----------- th-----------e f-----------uel----------- ef-----------fic-----------ien-----------cy -----------of -----------a m-----------ult-----------i-l-----------eg -----------jou-----------rne-----------y. -----------The----------- pr-----------ogr-----------am -----------wil-----------l f-----------irs-----------t p-----------rom-----------pt -----------for----------- th-----------e s-----------tar-----------tin-----------g o-----------dom-----------ete-----------r r-----------ead-----------ing----------- an-----------d t-----------hen----------- ge-----------t i-----------nfo-----------rma-----------tio-----------n a-----------bou-----------t a----------- se-----------rie-----------s o-----------f l-----------egs-----------. F-----------or -----------eac-----------h l-----------eg,----------- th-----------e u-----------ser----------- en-----------ter-----------s t-----------he -----------cur-----------ren-----------t o-----------dom-----------ete-----------r r-----------ead-----------ing----------- an-----------d t-----------he -----------amo-----------unt----------- of----------- ga-----------s u-----------sed----------- (s-----------epa-----------rat-----------ed -----------by -----------a s-----------pac-----------e).----------- Th-----------e u-----------ser----------- si-----------gna-----------ls -----------the----------- en-----------d o-----------f t-----------he -----------tri-----------p w-----------ith----------- a -----------bla-----------nk -----------lin-----------e. -----------The----------- pr-----------ogr-----------am -----------sho-----------uld----------- pr-----------int----------- ou-----------t t-----------he -----------mil-----------es -----------per----------- ga-----------llo-----------n a-----------chi-----------eve-----------d o-----------n e-----------ach----------- le-----------g a-----------nd
Not Rated(0)