alternating case lines by bk1e

main(i,c){for(;~(c=getchar());putchar(i?toupper(c):tolower(c)))i^=c==10;}

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

download

return to the top page