Consistent white space
Use getc(stdin) explicitly instead of getchar()
Add support for ICH, prefix increments in loops