A car with a 20-gallon gas tank averages 215 miles per


A car with a 20-gallon gas tank averages 21.5 miles per gallon when driven in town and 26.8 miles per gallon when driven on the highway. Write a program that calculates and displays the distance the car can travel on one tank of gas when driven in town and when driven on the highway

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: A car with a 20-gallon gas tank averages 215 miles per
Reference No:- TGS01630446

Expected delivery within 24 Hours