Average Character by uru

var s:string;i,n:word;begin
repeat
readln(s);n:=0;for i:=1to length(s)do n:=n+ord(s[i]);writeln(chr(n div i))until 1=0end.

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

download

return to the top page