Computer Science, asked by guddululla21479, 1 year ago

How to solve this pattern program ?
3 3 3
2 2
1

Answers

Answered by Anonymous
10
ANSWER
.......


 the program is given below
.................


#include

<stdio.h>

                                #include

<conio.h>


void main()

{

int i,

j,k,samp=1;


clrscr();
f

or (i=5; i>=1; i--)

{


for (k=samp; k>=0; k--)

{

   printf

(" ");
// only 1 spac

e


}

for (j=i; j>=1; j--)

{

   printf

("*");

}


 samp = samp + 1;

  printf("\n")


;
}

getch()

;
}
Similar questions