improved indentation prog2.c