ASCII Stars by MarkByers

using C=System.Console;class A{static void Main(){for(int a,b,_=a=int.Parse(C.ReadLine());;C.Write("".PadLeft(b=--_>0?_:-_)+@"
".PadLeft(a-b<<1,'*')));}}

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

download

return to the top page