Created exercise4-5.c