Trying to write teh prompt command in C.