Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8
Show your attempt first //You can use the logic of modulus and check the remainder and as such increment the count in the loop by declaring a string.
20th Aug 2020, 3:36 AM
Aditya
Aditya - avatar