Get input from user in C