summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2023-12-03 09:47:53 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2023-12-03 09:47:53 +0000
commit8e661d213cac7d009b011afcedcdc384fdd8cfd9 (patch)
treeb5aa282ebb7c5452051d80037f8853282707ed47
parent0d4bfac21d4f85de0ae877d4f7a3583bc4ddc3a0 (diff)
Sun, Dec 3, 2023, 1:47 AM -08:00
-rw-r--r--wk1/pset1/hello.c8
1 files changed, 8 insertions, 0 deletions
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 <stdio.h>
+#include <cs50.h>
+
+int main(void)
+{
+ string name = get_string("What's your first name? ");
+ printf("Hello, %s\n", name);
+}