954,136 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Number genarotor

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?

OurNation
Master Poster
780 posts since Aug 2004
Reputation Points: 16
Solved Threads: 9
 

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

cosi
Junior Poster
153 posts since Aug 2004
Reputation Points: 17
Solved Threads: 1
 

Hey magic27,

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

Hope you like it.

cosi
Junior Poster
153 posts since Aug 2004
Reputation Points: 17
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You