Need assistants with a code | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Need assistants with a code

For some reason I have the month output as April. Yet the actual number is 8 The code is named test im on mobile so i cant get a link for it

10th Sep 2018, 1:21 AM
Brett
Brett - avatar
1 ответ
+ 8
The problem lies in Line 47. The program should do an equality comparison but performed assignment and overwriting the existing value instead. 😉 By the way you can obtain link in app too by tapping the Share button on upper right corner. https://code.sololearn.com/W6KVr6vV2r3X/?ref=app
10th Sep 2018, 1:36 AM
Zephyr Koo
Zephyr Koo - avatar