Showing posts with label Number Triangle Pattern design. Show all posts
Showing posts with label Number Triangle Pattern design. Show all posts

8.09.2014

Number Triangle Pattern C Program

Q. Write a C program to print the following number triangle pattern as:

0
101
21012
3210123
432101234
54321012345

Ans.

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