You've got the for statement correct. you just need a formula. You can put the numbers in an array.
Thanks, Tyler Littlefield email: [EMAIL PROTECTED] web: tysdomain-com Visit for quality software and web design. skype: st8amnd2005 ----- Original Message ----- From: Andy To: [email protected] Sent: Saturday, November 08, 2008 8:53 AM Subject: [c-prog] Re: hii --- In [email protected], "David Hamill" <[EMAIL PROTECTED]> wrote: > > > Title: Pyramid of numbers > > > > Generate the following "pyramid" of digits, using nested > > loops. > > > > 1 > > 232 > > 34543 > > 4567654 > > 567898765 > > 67890109876 > > 7890123210987 > > 890123454321098 > > 90123456765432109 > > 0123456789876543210 > > > > develop a formula to generate the appropriate output for > > each line. > > More homework! > > Tell us in words how you would go about solving the problem > if you had to generate the pyramid using squared paper and a > pen. > > David > umm i would write the formulas...declare the variables...and use a for statement..is that wright [Non-text portions of this message have been removed]
