Use Binary Search:
first step- 100/2=50, try to drop from 50th floor. not 1 cases
1- it breaks 2- It did not
If it breaks then obviously the floor should be below 50 otherwise above 50
Then again repeat Binary Search...
so in this way number of operaions = log (base 2) n, where n=100