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
5
Master Poster
Recommended Answers
Jump to PostHey magic27,
I posted a code snippet here:
http://www.daniweb.com/techtalkforums/thread9569.htmlHope you like it.
All 2 Replies
cosi
4
Junior Poster
cosi
4
Junior Poster
nanosani
commented:
you're such a good programmer cosi. -- sani.
+1
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.