Starburst by Ernest

char s[];main(i,j,n,a){for(i=scanf("%s",s),n=strlen(s)+1;i<=n-1;i++,printf("\n"))if(i==n/2)printf("%s",s);else for(j=1;j<=n-1;printf("%c",a),j++)a=(j==i||j==n/2||j==n-i)?*(s+i-1):' ';}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page