From 8e661d213cac7d009b011afcedcdc384fdd8cfd9 Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Sun, 3 Dec 2023 09:47:53 +0000 Subject: Sun, Dec 3, 2023, 1:47 AM -08:00 --- wk1/pset1/hello.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 wk1/pset1/hello.c (limited to 'wk1/pset1/hello.c') diff --git a/wk1/pset1/hello.c b/wk1/pset1/hello.c new file mode 100644 index 0000000..d840466 --- /dev/null +++ b/wk1/pset1/hello.c @@ -0,0 +1,8 @@ +#include +#include + +int main(void) +{ + string name = get_string("What's your first name? "); + printf("Hello, %s\n", name); +} -- cgit v1.2.3