1-)You are working as an excavator operator. The excavator will dig a hole which
ID: 3640498 • Letter: 1
Question
1-)You are working as an excavator operator. The excavator will dig a hole which is maximum depth is 50 m then when it takes the soil out of the hole, in each 5 m, 5% of the soil drops from the excavator’s bucket. The maximum capacity of your excavator’s bucket is 10 kg. User will input a height value (between 1 and 50) which is the position of the excavator and your program calculates the amount of soil when the excavator reaches the top of the hole according to the defined value by the user.(in each 5 m, the amount of soil in the excavator’s bucket is decreasing. So, in your program you must update the value of the soil.)
2-)User will input the position of the excavator (between 1 and 50). According the inputted position value, user will input amount of soil (kg). The maximum capacity of your excavator’s bucket is same. How many steps are required to carry the all soils to the top of the hole for this position?
(in each 5 m, 5% of the soil drops from the excavator’s bucket)