473,394 Members | 1,794 Online

# pyramid of numbers

hello everybody,
i want to print the pyramid of numbers in the following manner.
1
212
32123
4321234
and so on depending on the no of rows.
plz help me out.
Dec 17 '07 #1
1 3588
sicarie
4,677 Expert Mod 4TB
The experts on this site are more than happy to help you with your problems but they cannot do your assignment/program for you. Attempt the assignment/program yourself first and post questions regarding any difficulties you have or about a particular function of the code that you don't know how to achieve.

Please read the Posting Guidelines and particularly the Coursework Posting Guidelines.

Then when you are ready post a new question in this thread.
Dec 17 '07 #2

Sign in to post your reply or Sign up for a free account.

### Similar topics

 4 by: August1 | last post by: A handful of articles have been posted requesting information on how to use these functions in addition to the time() function as the seed to generate unique groups (sets) of numbers - each group... 8 by: virtualadepts | last post by: I spent quite a bit of work trying to get this to format on google groups, so let me know if it needs explination. Basicly the tree sorts randomly, and can start from any number on the pyramid. ... 4 by: i m gr8 | last post by: Hello, I need to make a pyramid 20 lines long showing Xs like this: X XX XXX XXXX and so on . I have made this code so far: 7 by: newstips6706 | last post by: 1, 2, 3, 5, 7... PRIME Numbers ________________________________ Definitions What is a PRIME Number ? 5 by: Kahlia | last post by: Hi. I am trying to print a pyramid of asterisks using recursion so that the recursive function takes in an integer and prints that number of lines of asterisks and then reverses, eg: * ... 29 by: n8kindt | last post by: hey guys, i'm using access 2007. i'm not happy with my solution to the following problem so i'm hoping one of you guys has a better idea. my solution would require use of multiple valued fields... 24 by: pereges | last post by: I need to generate two uniform random numbers between 0 and 1 in C ? How to do it ? I looked into rand function where you need to #define RAND_MAX as 1 but will this rand function give me ... 1 by: process | last post by: http://projecteuler.net/index.php?section=problems&id=18 def recur(tree, pos): if not tree: return else: return ] + recur(tree, pos)] + \ ] + recur(tree, pos+1)] 2 by: Gn02 | last post by: Hi im noob in JAVA could someone explain to me how to make this program for loop.. asterisk pyramid sideward .. plss answer me i want to learn it 0 by: Charles Arthur | last post by: How do i turn on java script on a villaon, callus and itel keypad mobile phone 0 by: ryjfgjl | last post by: If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming... 0 by: ryjfgjl | last post by: In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files... 1 by: nemocccc | last post by: hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions? 1 by: Sonnysonu | last post by: This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to... 0 by: Hystou | last post by: There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2... 0 by: Oralloy | last post by: Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,... 0 by: Hystou | last post by: Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows... 0 by: tracyyun | last post by: Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.