Showing posts with label 1234 2341 3212 4123 C program source code. Show all posts
Showing posts with label 1234 2341 3212 4123 C program source code. Show all posts

12.03.2012

Number Rectangle Program

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

1234
2341
3412
4123

Ans.

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