document.write( "Question 984811: A friend calls me because she found a great deal! Two pairs of pants for $30 with a 10% discount on the fourth pair. We decide to buy six, it will cost \n" ); document.write( "
Algebra.Com's Answer #605653 by addingup(3677)\"\" \"About 
You can put this solution on YOUR website!
You will pay $30 each for 5 pair:........ 30 x 5= 150
\n" ); document.write( "you will pay $30 - 10% on one pair:..... 30 - 3=...27\r
\n" ); document.write( "\n" ); document.write( "Total: 150 + 27 = 177
\n" ); document.write( "
\n" );