hi all, i need some helps with strings

i have to design a pacman impressed at screen taht is depended by a dinamic number, also some like this
1234
123
12
1
12
123
1234

but i cant imagine how to do this, i mean, i guess that i have to use arrays, but not the way to do it
Two nested loops.
The outer one iterates over the lines. The number of lines is computed from the "dinamic number".
The inner prints one line. What a line contains is computed from its index.


PS. I believe that you can edit the first post in order to move this thread into different subforum. For example, the "Beginners" forum seems much more appropriate place for your question than "UNIX/Linux Programming".
thans ill do by for - ill do by solved and yes, next time ill post there, begginers fails i guess ^ ^ ty bro
Topic archived. No new replies allowed.