0
How I can solve it ???
if user input 9. output is: 191919191 282828282 373737373 464646464 555555555 646464646 737373737 828282828 919191919
5 Antworten
+ 4
I made an assumption of how your pattern works and made this program.
https://code.sololearn.com/cF2hdXeyBH6a
+ 2
Do you have a second example say, if the user input 5? Without that or a description of the problem giving a solution is difficult.
+ 2
Robert Brown Farley (brofarops) it might be, but not in Kotlin. He will still have to figure out how to convert it. Since he has started C++, I'm guessing that language and I was going to give the algorithm.
+ 1
I hope this wasn't their homework John. It looks like an exercise -
+ 1
I wouldn't blame perse even if you did do his homework... I think we sometimes forget that many here are youthful coders -
The question here would be where is his/her code and how can we best assist him ( or ) her without actually doing their homework...