Showing posts with label 12345 2345 345 45 5 number pattern. Show all posts
Showing posts with label 12345 2345 345 45 5 number pattern. Show all posts

9.07.2013

Number Pyramid Structure

Q. Write a C program to print the following number pyramid structure design as:

1 2 3 4 5
2 3 4 5
3 4 5
4 5
5

Ans.

/*c program for number pyramid pattern design*/
#include<stdio.h>
int main()
{