improved indentation prog5.c