1
answer
0
watching
318
views
14 Oct 2022
- Imagine you are running in a competition where the distances between the stations are not equal. The distance between the start point and the first station is 2km and for the following stations, the distance will increase by 10%. It means the distance between the first and the second station is 2.2km. Each runner is going to start with no chocolate at the beginning and they receive 10 lb of new chocolates in the first station. For the following stations, they will receive 30% more than what they received in the previous station. As an example, what a runner will get in the second station is 13 lb of chocolate and correspondingly in the third station, a runner will get 16.9 lb of chocolate.
Assuming that a runner would run 25 km, how much chocolate will someone have if they get to the end of this competition? answer should be in c++
- Imagine you are running in a competition where the distances between the stations are not equal. The distance between the start point and the first station is 2km and for the following stations, the distance will increase by 10%. It means the distance between the first and the second station is 2.2km. Each runner is going to start with no chocolate at the beginning and they receive 10 lb of new chocolates in the first station. For the following stations, they will receive 30% more than what they received in the previous station. As an example, what a runner will get in the second station is 13 lb of chocolate and correspondingly in the third station, a runner will get 16.9 lb of chocolate.
Assuming that a runner would run 25 km, how much chocolate will someone have if they get to the end of this competition? answer should be in c++
1
answer
0
watching
318
views
For unlimited access to Homework Help, a Homework+ subscription is required.
Liked by osayiemmanueligbineweka and 1 others