fixed Kochan8-12.c