diff options
Update Pract 01-03. Rename
1 files changed, 12 insertions, 0 deletions
| -rw-r--r-- | pract_SI/Pract. 01/Solutions/task1.cpp | 12 |
diff --git a/pract_SI/Pract. 01/Solutions/task1.cpp b/pract_SI/Pract. 01/Solutions/task1.cpp new file mode 100644 index 0000000..54a1902 --- /dev/null +++ b/pract_SI/Pract. 01/Solutions/task1.cpp @@ -0,0 +1,12 @@ +#include<iostream> +#include<string> +using namespace std; +int main() +{ + string name; + cout << "What is your name?\n"; + cin >> name; + cout << "Hello, " << name << endl; + + return 0; +}
\ No newline at end of file |
