In this tutorial, we’ll solve Rural Libray Question also A Rural Library Created Lending Facility For Only 100 Books Question using different logic.

This question is asked in so many competitive programming exams and also in TCS NQT or Codevita. So, here you’ll get the exact and complete solution to this question.

So let us see how this question can be solved using different logic with explanations.

A Rural Library Created Lending Facilities for only 100 books and kept the lending desk open only on Mondays.

Which were the days on which it also took stock of the books.

The position of the number of books lent (L) and returned (R) on the first three Mondays (M1, M2, M3) of the operation in the lending desk is presented through a bar graph given below.

a rural library created lending, a rural library created lending facility for only 100 books

How many of these books remained outside the library after stock checking on the third Monday?

  1. 30
  2. 50
  3. 60
  4. 40

Answer: Option 2nd 50.

A Rural Library Created Lending Solution 1

The answer is 50.

Explanation:

Stock on 1st Monday is 80 – 20 = 20.

Similarly Stock on 2nd Monday is 20 + 50 – 60 = 10.

And the Stok on last Monday i.e on M3 is 10 + 80 – 40 = 50.

Therefore the right answer is 50.

A Rural Library Created Lending Solution 2

Given: A rural library created lending facilities only for 100 books and kept the lending desk open only on Mondays.

Which were the days on which it also took stock of the total books.

Here the position of the no of books returned (R) and no of books lent (L) on the first three Mondays i.e (M1, M2, M3) of the operation desk is presented with the help of a graph.

To Find: Total how many Books are outside after the stock check on the third Monday i.e M3.

Solution:

The Initial Stock is 100.

The books lent on M1 = 80.

So the stock remained is = 100-80 = 20.

Similarly on M2:

Books Returned = 50 and Books Lent = 60.

Hence the total stock becomes = 20 + 50 – 60 = 10.

Similarly on M3:

Books Returned = 80 and Books Lent = 40.

Hence the total stock becomes = 10 + 80 – 40 = 50.

Therefore, the books outside after stock check on the M3 = 100 – 50 = 50

So, a total of 50 books are outside after the stock check on M3.

Conclusion

In this way, we’ve solved A rural library that created lending facilities only for 100 books and kept the lending desk open only on Mondays using different logic. If you’ve any doubts then please feel to contact us. We’ll reach you as soon as possible.

Thanks and Happy Coding :)

Also, Read: