Stock Price
Rushabh works for the Stock Exchange as a Share Broker. He primarily keeps his eyes on Shares related to IT companies.
One day he met his friend Parag, during lunch time. Parag asked him about the price of a single Share of Info Tech company.
Rushabh answered cryptically by giving following three clues:
- if price of a Share is multiple of 5, then it is between $1 and $30
- if price of a Share is not a multiple of 7, then it is between $31 and $50
- if price of a Share is not a multiple of 10, then it is between $51 and $60
Note that the price of a Share is a positive integer.
Answer is 56.
Solution:
1. If muliple of 5 > 5,10,15,20,25
2. If not a muliple of 7 > 31,32,33,34,36,37,38,39,40,41,43,44,45,46,47,48
3. If not a muliple of 10 > 51,52,53,54,55,56,57,58,59
Let say, its multiple of 5, In this case, it won't be multiple of 7 as none of number in case 1 is divisible by 7, so case 1 and case 2 will contrdict. So can't be a multiple of 5. If can't be a multiple of 5 then also can't be a multiple of 10. so case 3 will hold true and then number will be anyone from case 3.
Now acc to case 2, if its not a multiple of 7, it anyone from case 2 numbers. So only 56 from case 3 fits as Its a multiple of 7 so case 2 won't apply.
For more such articles, Visit: http://www.pankajbatra.com
No comments:
Post a Comment