document.write( "Question 622213: a man sold 100 eggs.Eighty of them were sold at a profit of 30 percent while the rest were sold at loss of 40 percent.What is the percentage gain or loss on the whole stock?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #391223 by Edwin McCravy(20060)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "Suppose he paid x cents for each egg. So his total cost was 100x cents.\r\n" );
document.write( "\r\n" );
document.write( "He sold 80 at x+30%x cents each or 1x+.30x or 1.30x, so he took in 80(1.30x)\r\n" );
document.write( "or 104x cents for those 80 eggs.\r\n" );
document.write( "\r\n" );
document.write( "He sold 20 at x-40%x each or 1x-.40x or 0.60x, so he took in 20(0.60x)\r\n" );
document.write( "or 12x cents for those 20 eggs.\r\n" );
document.write( "\r\n" );
document.write( "So he took in a total of 104x+12x or 116x, so his profit was 116x-100x\r\n" );
document.write( "cents or 16x cents.\r\n" );
document.write( "\r\n" );
document.write( "16x cents is \"16x%2F%28100x%29\" or 16% of the 100x cents he paid for the 100\r\n" );
document.write( "eggs.\r\n" );
document.write( "\r\n" );
document.write( "Answer: 16% gain.\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );