From 14b5e45f0da7258e9db802dc05afacbcc79ec5c3 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 21 Sep 2019 13:56:03 +0300 Subject: [PATCH] week1-assignment solution by Hasan Hani --- Hello.txt | 8 ++++++++ README.md | 10 ++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 Hello.txt diff --git a/Hello.txt b/Hello.txt new file mode 100644 index 0000000..b1f04de --- /dev/null +++ b/Hello.txt @@ -0,0 +1,8 @@ +#include +#include + +int main(void) +{ + string name = get_string("What is your name?\n"); //write a name + printf("Hi,%s \n", name); // A name appears with greeting +} \ No newline at end of file diff --git a/README.md b/README.md index 5f8abaa..b1f04de 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,8 @@ -# Week1-Hello -# Week1-Hello +#include +#include + +int main(void) +{ + string name = get_string("What is your name?\n"); //write a name + printf("Hi,%s \n", name); // A name appears with greeting +} \ No newline at end of file