+ 18
Challenge: Find the pattern
Try to discover the pattern *1 **3 ***6 ****10 *****15 ******21 and do a code in any language which receive for an user input a number of lines to print.
25 Answers
+ 13
+ 25
https://code.sololearn.com/c16vu4iycGNF/?ref=app
+ 19
https://code.sololearn.com/cDCBSsXV045s/?ref=app
+ 15
the first line is missing... Should be no stars, just 0 😉
+ 7
here's my try in java :
https://code.sololearn.com/c3Od6y2lWVPK/?ref=app
+ 7
https://code.sololearn.com/c1RAEig72Nt7/?ref=app
+ 7
Here's mine, without protection against false input yet
https://code.sololearn.com/cruTD3Lx22Q3/?ref=app
+ 7
Mine again, but in c++
https://code.sololearn.com/ccsfLs1Qki2L/?ref=app
+ 7
https://code.sololearn.com/WRw4T1mLJy99/?ref=app
+ 5
https://code.sololearn.com/czbqscDwwLCr/?ref=app
+ 5
Find me a more complex challenge and you will have my code !
+ 5
Challenge accepted.
This is my code in Javascript.
https://code.sololearn.com/Wvk09ZDYeG9g/?ref=app
+ 4
one more star and number of stars added to n each row
+ 4
Hey.. I know I am probably late.. I just saw this challenge late night yesterday.. wanted to complete it as soon as I get back from school today...
so here's it..
https://code.sololearn.com/cnp698d6QxKe/?ref=app
+ 3
Nikolay and VcC Im waiting for your great codes
+ 3
Hello, my solution in JavaScript
https://code.sololearn.com/W8ssdY08Wnpy/