C programming help

Discussion in 'Programming' started by grjae, May 31, 2011.

  1. #1
    Hi, I really need some help building these two programs. It is for a big test coming up.

    1. Write a function that will determine a motorists gas mileage. Request two mileages, and the number of gallons used. THe program should work with starting or ending mileages in either order.

    2. Write a function that will determine the average miles per hour. Request two mileages, starting time and arriving time. The program should work with starting or ending mileages in either order. Assume all travel is completed in either AM or PM

    Thanks for any help
     
    grjae, May 31, 2011 IP
  2. nerdweb

    nerdweb Peon

    Messages:
    20
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    hi
    you can read book of robert leafore. you can get solution of your problems. for futerh help please check tutorial on nerdtreasure
     
    nerdweb, Jun 1, 2011 IP
  3. grjae

    grjae Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Still looking for some help, my test is tomorrow and need these codes to pass the class. I can even pay if needed
     
    grjae, Jun 1, 2011 IP