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.
/*
Save your time - order a paper!
Get your paper written from scratch within the tight deadline. Our service is a reliable solution to all your troubles. Place an order on any task and we will take care of it. You won’t have to worry about the quality and deadlines
Order Paper Nowusing 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
"If this is not the paper you were searching for, you can order your 100% plagiarism free, professional written paper now!"

