Can some one write me a code that would genarate numbers in a certin pattern? The pattern starts with 1 the next number 11 meaning the last number had one one the next number is 21 meaning the last number had two ones. Is it possible to make a program that genartes the more numbers in the pattern?

Recommended Answers

Hey magic27,

I posted a code snippet here:
http://www.daniweb.com/techtalkforums/thread9569.html

Hope you like it.

Jump to Post

All 2 Replies

lol magic27, I wrote a program up for that just for fun when I saw dani's contest. when I get home I'll post it.


Ed

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.