CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 11 of 11

Thread: Pyramids in C++

Threaded View

  1. #1
    Join Date
    Feb 2009
    Posts
    11

    Exclamation Pyramids in C++

    Hi Friends,
    I am a beginner in C++ I have to make a programms using loops to get the out put as
    1
    2 3
    4 5 6
    7 8 9 10
    11 12 13 14 15

    also I have to write a program having output as
    1
    121
    12321
    1234321
    123454321
    The pyramid mentioned above should look like a pyramid and not like a right triangle.

    please help me as I am not very well aware about the concepts of loops.
    Last edited by siddharth_1202; February 6th, 2009 at 06:54 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured