Created exercise5-4.c