From 873c00bdeae771d01f9c2b504e9f693c1c00cd37 Mon Sep 17 00:00:00 2001 From: rosecollins <45430622+rosecollins@users.noreply.github.com> Date: Fri, 20 Sep 2019 01:50:19 +0300 Subject: [PATCH] Create hello.c --- hello.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 hello.c diff --git a/hello.c b/hello.c new file mode 100644 index 0000000..7c51141 --- /dev/null +++ b/hello.c @@ -0,0 +1,9 @@ +#include +#include + +int main(void) +{ + //taking input from the user and save it into "string" variable. + string name = get_string("What's your name?\n"); + printf("Hello, %s\n", name); +}