improved indentation prog7.c