Logo 
Search:

C Programming Article

Submit Article
Comments on Program to print pyramid of numbers as shown in description
Category: C Programming (Homework Help)    Author: Cesar Gonzalez

WRITE A PROGRAM TO GENERATE FOLLOWING FIGURE OF N LINES.
INPUT N FROM KEYBOARD.

______0
____1 0 1
__2 1 0 1 2
3 2 1 0 1 2 3

consider space in place of line.


Sri Ragavi
Sri Ragavi from FranceMar 09
hello sir

i want to know how we can use while loop.

which out put must be-
1
12
123
1234
12345

please help me


Please enter your Comment
  • Comment should be atleast 15 Characters.
  • Please put code inside [Code] your code [/Code].