- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies

- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

# A person spent Rs. 564 in buying pens and pencils if cost of each pen is Rs. 7 and each pencil is Rs. 3 and if the total number of things bought was 108, how many of each type did he buy?

Given:

A person spent Rs. 564 in buying pens and pencils.

The cost of each pen is Rs. 7 and each pencil is Rs. 3.

The total number of things bought was 108.

To do:

We have to find the number of pens and pencils bought.

Solution:Let the number of pens and pencils be $x$ and $y$ respectively.

This implies,

$x+y=108$

$\Rightarrow y=108-x$........(i)

Cost of each pen $=Rs.\ 7$

Cost of each pencil $=Rs.\ 3$

According to the question,

$7x + 3y = 564$

$7x+3(108-x)=564$ [From (i)]

$7x+324-3x=564$

$4x=564-324$

$x=\frac{240}{4}$

$x=60$

$\Rightarrow y=108-60=48$

**Number of pens bought is 60 and the number of pencils bought is 48.**

Advertisements