diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2023-12-01 05:07:36 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2023-12-01 05:07:36 +0000 |
commit | dd6ea141cabac011bd38d17324c735d7c00fb8f8 (patch) | |
tree | 4c6ced40d8ab370d0774b07260d6da8a60e13d3e | |
parent | fc38492e2044a77a1ff2fe194dcd9243b5d0f307 (diff) |
Thu, Nov 30, 2023, 9:07 PM -08:00
-rw-r--r-- | ask.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,8 +1,8 @@ -#include <stdin.h> -# +#include <stdio.h> +#include <cs50.h> int main(void) { string ans = get_string("What's your name? "); - printf(ans); + printf("Hello, %s\n", ans); } |