Hi, guys, once again
Here is a math problem I have been trying to solve and right after it is the code I wrote:
The program checking my code is only giving me 20% on the tests it runs with this code…Can you please tell me where my mistakes are? Also, I am open to reading your suggestions for more elegant solutions (I think this one with so many variables looks clumsy). I would appreciate a more ‘professional’ way of doing that with less code and more methods I gues…
Thanks in advance