Wap to show pattern | Sololearn: Learn to code for FREE!

0

Wap to show pattern

abc ab a

4/19/2018 8:45:36 AM

mohd shahnawaz

1 Answer

New Answer

0

A snippet: char array[]="abc"; for(i=2;i>=0;i--){ for(j=0;j<=i;j++){ putchar(array[j]); } printf("\n"); }