document.write( "Question 1202500: plain pizza cost $7 each and a deluxe pizza costs $9 each. to feed the cast and crew of a high school production, the school ordered 30 pizzas in total and spent $250. How many of each type of pizza were ordered? \n" ); document.write( "
Algebra.Com's Answer #837381 by ikleyn(52914)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "plain pizza cost $7 each and a deluxe pizza costs $9 each.
\n" ); document.write( "to feed the cast and crew of a high school production, the school ordered 30 pizzas
\n" ); document.write( "in total and spent $250. How many of each type of pizza were ordered?
\n" ); document.write( "~~~~~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "Let n be the number of the $9 pizzas.\r\n" );
document.write( "\r\n" );
document.write( "Then the number of the $7 pizzas is (30-n).\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Write the total money equation\r\n" );
document.write( "\r\n" );
document.write( "    9n + 7(30-x) = 250  dollars.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Simplify and find n\r\n" );
document.write( "\r\n" );
document.write( "    9n + 210 - 7n = 250\r\n" );
document.write( "\r\n" );
document.write( "    9n - 7n = 250 - 210\r\n" );
document.write( "\r\n" );
document.write( "      2n    =    40\r\n" );
document.write( "\r\n" );
document.write( "       n    =    40/2 = 20.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "ANSWER.  20 pizzas at $9 each and 30-20 = 10 pizzas at $7 each.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "CHECK.   20*9 + 10*7 = 180 + 70 = 250 dollars total.    ! correct !\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );