Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

help with a C program to generate a pyramid of numbers...

nested loop

  • Please log in to reply
1 reply to this topic

#1 bgjyd834

bgjyd834

    CC Newcomer

  • Just Joined
  • PipPip
  • 16 posts

Posted 10 April 2011 - 07:17 PM

C program to generate the following pyramid of digits, using nested loops.
1
232
34543
4567654
……………..
0123456789876543210

Thanks
  • 0

#2 Flying Dutchman

Flying Dutchman

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1090 posts
  • Location:::1
  • Programming Language:C++, Python

Posted 11 April 2011 - 03:48 AM

Is there a question somewhere or did you just post an exercise for us?
  • 0

The roots of education are bitter, but the fruit is sweet.






Also tagged with one or more of these keywords: nested loop

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download