improved indentation prog4.c