Create ex10.c

Prints arguments and an array of states as strings