document.write( "Question 658024: 10 gallons cost $45 but has a 10% discount \n" ); document.write( "
\n" ); document.write( "Hi,\n" ); document.write( "10 gallons cost $45 but has a 10% discount\n" ); document.write( "With a 10% discount, the sale price is 90% of the original price\n" ); document.write( " 90% of $45 is = $40.50