A, B, C, D and E are five friends. They live in a 10 storey building. The building has a ground floor+10 floors. Each of them lives in different floors and none of them lives in the ground floor. All of them entered the lift on the ground floor and each pressed two floor buttons such that all the 10 buttons (1-10) are pressed. None of them presses the buttons of the floor in which they lives.
E lives below D but above B. There are two floors between A and B. C lives above A but below D. A pressed the floor number of C. The difference between the floor numbers pressed by D is a perfect square. B pressed the floor number of D. C pressed the floor number of E. There is exactly one floor between C and E where none of the five lives. E pressed the floor number of B. The floor numbers pressed by B are two perfect square numbers. B does not live in floor numbered 1. A pressed consecutive floor numbers. B pressed the buttons of the floors which are above the floor in which he lives. The difference between the floor numbers pressed by E is the floor number of C.
Solution :

Hello Friends, I am from India. After earning my Graduate degree in Computer Application, I decided to pursue my passion for Web Designing and Content Writing. My ultimate goal is to become one of the best in my field and continue to deliver high-quality content. Further, I aim to deliver the latest information regarding recruitment to job seekers, the latest news with accuracy, which shall benefit them in every way possible.