Create prob47.c