cis432 program2 in c