create c program for assignment 6/12