/* Fullname.c (c) Kari Laitinen http://www.naturalprogramming.com/ 2013-11-24 File created. 2013-11-24 Last modification. */ #include #include int main() { char first_name[ 40 ] ; char last_name [ 40 ] ; printf( "\n Please, type in your first name: " ) ; gets( first_name ) ; printf( "\n Please, type in your last name: " ) ; gets( last_name ) ; printf( "\n Your full name is %s %s.\n\n", first_name, last_name ) ; }