Question
How many floors are there in between the floor of the
one who likes Yellow and the one who lives at floor 8th? Study the information carefully and answer the questions: Eight friends A, B, C, D, E, F, G and H live on eight different floors of a building but not necessarily in the same order. The lowermost floor of the building is numbered 1 and the topmost floor of the building is numbered 8. Each of them likes different colours viz, Pink, White, Black, Red, Green, Yellow, Orange and Brown but not necessarily in the same order. The one who likes White lives on an even numbered floor but not on topmost floor. Only one person lives between F and the one who likes Green. Only two persons live between F and the one who likes White. Neither E nor C lives on the first floor. Only one person lives between C and the one who likes Black. A lives just above F. Only two persons live between E and A. The one who likes Green does not live on floor numbered one, B lives on an even numbered floor just above C. The one who likes Red lives on an even numbered floor and lives just above the one who likes Brown. C does not like Green or Brown. Only two persons live between the one who likes Yellow and the one who likes Pink. D does not like Orange. The one who likes Yellow does not live on an odd numbered floor. H lives just below the one who likes Brown.Solution
According to the given information, The one who likes White lives on an even numbered floor but not on topmost floor. Only two persons live between F and the one who likes White. Only one person lives between F and the one who likes Green. The one who likes Green does not live on floor numbered one. A lives just above F. Only two persons live between E and A. Neither E nor C lives on the first floor. B lives on an even numbered floor just above C. If the one who likes White lives on 6th floor, then we will check case 1 for it, Case 1: If the one who likes White lives on 4th floor and the person F can live at two places on floor 1st or at 7th floor, then one more case 2.a will be formed of this case 2. Case 2:
case-2a
When the one who likes White lives on floor 2nd then F lives on floor 5th in case 3. Now in this Green can be at two places one at floor 3rd or at floor 7th, so one subcase will be formed for this case 3. Case 3:
In case 1, B and C can only live at floor 2nd and 1st but this is not possible as per the data provided in the question that C cannot live at 1st floor, so this case 1 gets discarded. Let’s continue with the other cases. B and C only can live on floor 8th and 7th in case 2, The one who likes Red lives on an even numbered floor and lives just above the one who likes Brown. H lives just below the one who likes Brown. The one who likes Yellow does not live on an odd numbered floor. Only two persons live between the one who likes Yellow and the one who likes Pink. Now, this is not possible in this case 2 so this vase gets discarded. Let’s move on to other cases.
In this case B live floor 4th and C on floor 3rd. Red and Brown will live at floor 8th and 7th respectively. H lives just below the one who likes Brown. So H, lives at floor 6th. The one who likes Yellow does not live on an odd numbered floor. Only two persons live between the one who likes Yellow and the one who likes Pink. For this Yellow must be living on floor 6th and the one who likes Pink on floor 3rd. D does not like Orange. Only one person lives between C and the one who likes Black. The one who likes Black lives on floor 1st and is liked by D. Now only G left for floor 2nd and he likes Orange. We have find our correct case so no need to see the other cases. Hence, the final arrangement of 8th floor building is as follows; Case 2.a:
In a business there are two partners ‘P’ and ‘Q’. ‘P’ started the business with the capital of Rs. 20000 and after 3 months ‘Q’ joined h...
If a shopkeeper buys toys at a price ranging from Rs. 175 to Rs. 200 and sells at prices ranging from Rs. 275 to Rs. 300, what is the maximum possible p...
A trader marked an article 16% above its cost price and sold it after allowing a discount of 10%. If the transaction resulted in a profit of Rs. 11, the...
A man spent 66% of his income in May. If his savings is increased by 20% in June and becomes Rs. 6120, then find the income of man in May.
Pine Tree Publications sold a Textbook for Rs. 120 and made a profit of 25% on its CP and sold an Encyclopedia for Rs. 720 and made a profit of 15% on i...
Raj purchased a television at the price of Rs. 50,000 and sold it at a loss of 12%. With this money, he again purchased a new television and sold that a...
A person buys a piece of machinery for ₹60,000. After 1 year, he sells it at a 15% profit and reinvests the entire amount in a new machine. The second...
B purchased 15 kg apples at the rate of 180 per kg from a wholesaler who uses a weight of 900 grams for the kg weight. B sold all these apples at 180 pe...
P purchased a book from registered store and gets 11% discount while Q purchased the same book from a roadside stall and got 17% discount. If Q paid Rs....
A shopkeeper sold an article A at 20% gain and another article B at 20% loss. Find her overall gain or loss percent if selling price of both articles we...