Results 1 to 2 of 2
  1. #1
    thclement is offline Member
    Join Date
    Jan 2013
    Posts
    1
    Rep Power
    0

    Default help writing a statement in java

    I need help writing a program that will calculate this statement

    A car holds 12 gallons of gasoline and can travel 350 miles before
    refueling. Write a program that calculates the number of miles per
    gallon the car gets. Display the results on the screen.

  2. #2
    foulkelore is offline Member
    Join Date
    Dec 2012
    Location
    Des Moines, IA
    Posts
    35
    Rep Power
    0

    Default Re: help writing a statement in java

    Give it a try and ask any questions you have. We are not going to do your homework for you.

Similar Threads

  1. Replies: 3
    Last Post: 11-19-2012, 09:12 PM
  2. Replies: 4
    Last Post: 04-20-2012, 04:17 PM
  3. Replies: 2
    Last Post: 03-26-2012, 05:27 PM
  4. new to java, trouble with if statement
    By Globular in forum New To Java
    Replies: 8
    Last Post: 05-25-2011, 07:03 PM
  5. Java Syntax If statement
    By Blasz in forum New To Java
    Replies: 9
    Last Post: 09-01-2010, 01:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •