Code :
. /*\ / \ # */ #\ include \ /*< 0x90 > */ <stdio.h> # include/**/ \ /* */ <stdlib.h> void draw(int m,int s,int f,char g){int i ,j; for(i=1; i<=m;i++){ for(j=1;j<( 40-(f+i*s));j ++)putchar(' ');for(j++;j<( 40+(f+i *s));j++) putchar(g); putchar ('\n') ;}}int main( int argc,char**argv){int l;(argc>1&&( l=strtoul(argv[1], NULL,10))&&l<40) ||(l=7);draw (l,1,0,'*');draw(l/4+1,0 ,l/4+1 ,'|'); return EXIT_SUCCESS;}
|