About Me

My photo
Raipur, Chhattisgarh, India
Hi , I am Amit Thakur. I have worked as a QA Engineer for two years and as a Java Developer for one year in NIHILENT TECHNOLOGIES PVT. LTD., Pune.Currently I am working as DEAN (Research & Development) in Bhilai Institute of Technology, Raipur.

Tuesday, September 3, 2013

C Program to Print 1-10 Numbers in Pyramid fashion

Problem Statement : Program to print 1-10 Numbers in Pyramid fashion


#include
#include
 void main()
 {
 int i,j;
 int count=1;

     for(i=0;i<=4;i++)
     {
        printf("n");
        for(j=0;j
Output :
1
2       3
4       5       6
7       8       9       10

No comments: