document.write( "Question 756912: AMIT HAD BOUGHT PENS AND PENCILS FOR RS. 345 .A PEN COSTS RS. 5 AND A PENCIL COSTS RS. 2.50 . IF THE TOTAL NO. OF ITEMS IS 108 HOW MANY OF EACH HAD HE BOUGHT\
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #460485 by sachi(548)\"\" \"About 
You can put this solution on YOUR website!
let he bought x pens ,so the no of pencils =108-x
\n" ); document.write( "now x*5+[108-x]*2.5=345
\n" ); document.write( "or 5x+216-2x=345
\n" ); document.write( "or 3x=345-216=129
\n" ); document.write( "or x=129/3=43
\n" ); document.write( "so he bought 43 pens ,& 65 pencils
\n" ); document.write( "
\n" ); document.write( "
\n" );