Code Of This Shape . 1***** 12**** 123*** 1234** 12345* 123456

7/07/2014 07:51:00 pm Unknown 0 Comments








#include<iostream.h>

#include<conio.h>

int main()

{


   int b,c,d;

   for(int b=1; b<=6; b++)

   {

      for(int c=1,a=1; c<=b; c++)

      {

       cout<<a; a++;

      }

      for(int d=5; d>=b; d--)

      {

cout<<"*";

      }

cout<<endl<<endl;

   }

   getch();

}