Need assistants with a code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 - avatar
1 Answer
+ 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.
10th Sep 2018, 1:36 AM
Zephyr Koo
Zephyr Koo - avatar