Skip to content

Commit

Permalink
Mon, May 2, 2022, 12:47 PM +00:00
Browse files Browse the repository at this point in the history
  • Loading branch information
morihuang authored May 2, 2022
1 parent 142d6a5 commit 813d0a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hello/hello.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#include <stdio.h>
#include <cs50.h>

int main(void)
{
string ans_name = get_string("What's your name: ");
printf("Hello, \$s", ans);
printf("Hello, %s\n", ans_name);
}

0 comments on commit 813d0a7

Please sign in to comment.