diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2023-12-01 05:09:55 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2023-12-01 05:09:55 +0000 |
commit | c38a010b1a4ef3cc7ff145b83c346340e9e5e6ae (patch) | |
tree | 4bc94b31250beda92b13def55ff0eeafad268397 /ask.c | |
parent | 3339f759dc7ef9469cf8b440baf7375012fe8608 (diff) |
Thu, Nov 30, 2023, 9:09 PM -08:00
Diffstat (limited to 'ask.c')
-rw-r--r-- | ask.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -3,6 +3,7 @@ int main(void) { - string ans = get_string("What's your name? "); - printf("Hello, %s\n", ans); + string first = get_string("What's your first name? "); + string last = get_string("What's your last name? "); + printf("Hello, %s %s\n", first, last); } |