c++

Write a C++ program that reads the Capacity (in
gallons)of an automobile fuel
tank, and Miles per gallon this
automobile can be driven. It outputs the number
of miles this automobile is driven without refueling

1. 👍
2. 👎
3. 👁
1. http://www.jiskha.com/display.cgi?id=1400341394

1. 👍
2. 👎
👤
Writeacher
2. If you could use further help, post what you've got so far, and we'll take it from there.

1. 👍
2. 👎
3. I have no idea. Can someone help me please

1. 👍
2. 👎

Similar Questions

1. math

a fish tank that holds 80 gallons of water is 55 percent full how many gallons are in the tank now and how many more gallons are needed to fill the tank

2. Math1

The number of gallons g of fuel used on a trip varies directly with the number of miles m traveled . If a trip of 270 miles required 12 gallons of fuel, how many gallons are required for a trip of 400 miles?

3. Chemistry 101

The mileage for a motorcycle with a fuel tank capacity of 22 liters is 35 miles per gallon. The density of gasoline is 0.74 g/cm^3.(dimensional analysis problem) a). How long a trip, in KM can be made on a full tank of gasoline?

4. calculus

An automobile computer gives a digital readout of fuel consumption in gallons per hous. During a trip, a passenger recorded the fuel consumption every 5 minutes for a full hour of travel. time: 0 / gal/h: 2.5 time: 5 / gal/h: 2.4

1. math

Suppose that the weight (in pounds) of an airplane is a linear function of the amount of fuel (in gallons) in its tank. When carrying 10 gallons of fuel, the airplane weighs 2026 pounds. When carrying 25 gallons of fuel, it weighs

2. algebra

Suppose that the weight (in pounds) of an airplane is a linear function of the total amount of fuel (in gallons) in its tank. When graphed, the function gives a line with a slope of 6.2. With 52 gallons of fuel in its tank, the

3. Math

Elizabeth pumps 3 1/2 gallons of gas in 1/4 of a tank. How many gallons does a full tank hold? Write an expression to represent the problem. Solve the problem:

4. math

When 6 gallons of gasoline are put into a car's tank the indicator goes from 1/4 of a tank to 5/8. What is the total capacity of the gas tank?

1. math

Water is Pumped into an underground tank at a constant rate of 8 gallons per minute.Water leaks out of the tank at the rate of (t+1)^½ gallons per minute, for 0

2. math

A family has two cars. The first car has a fuel efficiency of 30 miles per gallon of gas and the second has a fuel efficiency of 25 miles per gallon of gas. During one particular week, the two cars went a combined total of 1275

3. math

Suppose that the weight (in pounds) of an airplane is a linear function of the amount of fuel (in gallons) in its tank. When carrying 18 gallons of fuel, the airplane weighs 2199 pounds. When carrying 44 gallons of fuel, it weighs

4. Math

Rick's car gets 29.7 miles per gallon on the highway.If his fuel tanks hold10.45 gallons,then how far can he travel on one full tank.?