+ 9

Little challenge for beginners: counting

Since allot of the challenges people post are sometimes quite difficult, I made a challenge beginners who just started can make. CHALLENGE: Write a code wich has a output counting from 1 to a number you can enter yourself and let it count back to 1. I did it in C++ (see added code), would like to see how it is done in different languages or different from how I did it. Good luck! https://code.sololearn.com/cG4Q2t374jOa/?ref=app

8th Dec 2017, 3:49 PM
Luuk Velthoven
Luuk Velthoven - avatar
9 ответов
12th Dec 2017, 6:44 PM
Justine Ogaraku
Justine Ogaraku - avatar
14th Dec 2017, 6:53 AM
qwerty
qwerty - avatar
+ 10
So I saw that Kotlin and C# were missing so I added them😉😆 (second Kotlin code has no loops) https://code.sololearn.com/cuEScmQXjaYa/?ref=app https://code.sololearn.com/cEsvKJFcu53B/?ref=app https://code.sololearn.com/cRy8rQK7nkNU/?ref=app
2nd Jun 2018, 5:17 PM
Uni
Uni - avatar
14th Dec 2017, 8:41 AM
🌛DT🌜
🌛DT🌜 - avatar
+ 8
my trails......soon i will update with more efffecient algorithm... https://code.sololearn.com/cqwK61KKYD2N/?ref=app
9th Dec 2017, 6:06 AM
SAKSHI
SAKSHI - avatar
+ 6
https://code.sololearn.com/ceTtCug4VJ4C/?ref=app
8th Dec 2017, 6:00 PM
...
10th Dec 2017, 6:36 PM
illusion
illusion - avatar
6th Jun 2018, 12:01 AM
luʁi
+ 1
https://code.sololearn.com/c8dL1FVM1DpZ/?ref=app I find it interesting to look at how people solve this sort of thing :)
14th Dec 2017, 9:34 AM
Lysis
Lysis - avatar