I understand how you feel right now, so heres my advice.
1. You could Google "stdio.h". This header file handles many of C's input and output functions.
2. You could try Googling anything to do with C programming except not to include the following in your search: "C" or "programming".
3.Use or look up the following C functions:
fgets <--- (look up(BEST CHOICE for Input))
scanf <----(can do the job but good chance it could MESS UP your code)
Again, just look up "stdio.h" thats the best choise