Snail. A snail goes up A feet during the day and falls B feet at night. How long does it take him to go up H feet?
Given three integer numbers H, A and B (A > B), the program should output a number of days.
Input |
Output |
10 |
8 |
20 |
5 |
19 |
4 |
10 |
10 |
10 |
2 |