diff --git a/README.md b/README.md index 5f8abaa..25cb4af 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # Week1-Hello # Week1-Hello +my week 1 assignment hello.c \ No newline at end of file diff --git a/hello.c b/hello.c new file mode 100644 index 0000000..f2439af --- /dev/null +++ b/hello.c @@ -0,0 +1,10 @@ +//the library of input and output function +#include +#include + +int main(void) +{ + + string name = get_string("what is your name?\n"); + printf("hello, %s", name); +}