diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2023-12-01 05:19:07 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2023-12-01 05:19:07 +0000 |
commit | 00b7620092053204de608e9a71367a4a21481408 (patch) | |
tree | ed8cdc42bb89b5947e36f1aff494d0051f0c4302 | |
parent | c38a010b1a4ef3cc7ff145b83c346340e9e5e6ae (diff) |
Thu, Nov 30, 2023, 9:19 PM -08:00
-rw-r--r-- | ask.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,6 +4,7 @@ int main(void) { string first = get_string("What's your first name? "); + char middle = get_char("What's your middle INITIAL? "); string last = get_string("What's your last name? "); - printf("Hello, %s %s\n", first, last); + printf("Hello, %s %c %s\n", first, middle, last); } |