As stated in task details: 'There is always enough money to accept any offer'.
The variable 'money' is therefore not relevant to solution at all and should be removed. It is excessive - this task is solvable without ever using it.
I'm not a native speaker but: 'If I get profit and should accept all offers', feels off.
I think it should be something like 'If I get profit after accepting all offers'.
"'A good day, the profit is 7500$.' because we had 1 700 000$ at the beginning and we got 1,750,500$ at the end." - doesn't it mean that a profit is 750500 and not 7500?
It's not clear whenever I should accept all deals or only those that fit myRate variable.
This comment is hidden because it contains spoiler information about the solution
Why do you think is it necessary?
As stated in task details: 'There is always enough money to accept any offer'.
The variable 'money' is therefore not relevant to solution at all and should be removed. It is excessive - this task is solvable without ever using it.
I'm not a native speaker but: 'If I get profit and should accept all offers', feels off.
I think it should be something like 'If I get profit after accepting all offers'.
Description is vague.