added ex03.c