Vowel Density FIXED by Hendrik

using C=System.Console;class X{static void Main(){for(;;){int x=0,y=0;foreach(var c in C.ReadLine()){x+="AEIOUaeiou".Contains(c+"")?1:0;y+=c>32?1:0;}C.WriteLine("*".PadLeft(40*x/y));}}}

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

download

return to the top page