Methods and arrays where appropriate

  

using methods and arrays where appropriate, create a program that calculates how much it costs to fill up a gas tank. It should ask how much a gallon costs and assume that the gas tank capacity is 20 gallons. The amount should be printed in dollars and cents.

/*

using methods and arrays where appropriate, create a program that

calculates how much it costs to fill up a gas tank. It should ask how much a gallon costs

and assume that the gas tank capacity is 20 gallons.

The amount should be printed in dollars and cents

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadline.


Click Here to Make an Order Click Here to Hire a Writer