document.write( "Question 943301: Heather averages 24 miles per gallon of gas when driving to work. Gas costs $3.36 per gallon. James uses $0.17 worth of gas per mile driving his truck. What is the cost of gas per mile driven by James and by Heather? \n" ); document.write( "
Algebra.Com's Answer #575094 by macston(5194)\"\" \"About 
You can put this solution on YOUR website!
Heather's cost=($3.36/gal)/(24 mi/gal)=$0.14/mi
\n" ); document.write( "James' cost= $0.17/mi (given)
\n" ); document.write( "
\n" );