+ 2
What's wrong in my code?
It is displayed 53144 instead of 72900.why? https://code.sololearn.com/cbA4Jtjqxwj6/?ref=app
6 Respuestas
+ 2
TheWh¡teCat 🇧🇬 , thank You very very much.Now the code works fine ,thanks to You!!!
+ 1
Egor Tonchev(EGO) , first you need to calculate for 3 months, not 6 change the loop. Look at the corrected code.
https://code.sololearn.com/c3FtgETe3M0z/?ref=app
+ 1
Egor Tonchev(EGO)
You were calculating for 6 month but actually it is 3
0
You should start by explaining how reproduce the error. We don't know what input you used.
0
Is the sample input & output incorrect, or is the instructions incorrect? 6 months will get you the correct samples.
0
TheWh¡teCat 🇧🇬 can you explain to me how you did it