/*get user data from the keyboard with gets*/ #include char input[20]; main() { puts("Please enter your name."); /*get the users input using gets*/ gets(input); /*display name that was entered*/ printf("Hello there : %s\n",input); return 0; }