17th Dec 2018, 7:58 AM
Saswata Biswas
Saswata Biswas - avatar
2 ответов
+ 5
Line 8: change n >= a - 1 to n <= a - 1 There's also something wrong with your use of curly braces. I don't think lines 13-17 are supposed to be part of the for loop?
17th Dec 2018, 8:02 AM
Anna
Anna - avatar
+ 4
Thanks Anna
18th Dec 2018, 8:15 AM
Saswata Biswas
Saswata Biswas - avatar