From 1d105b91b9678ffaa8eddea2218ed1789f5be27c Mon Sep 17 00:00:00 2001 From: Oskar Date: Sat, 3 Aug 2024 22:51:15 +0200 Subject: more assignments --- 3p3.cpp | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 3p3.cpp (limited to '3p3.cpp') diff --git a/3p3.cpp b/3p3.cpp new file mode 100644 index 0000000..b4a8564 --- /dev/null +++ b/3p3.cpp @@ -0,0 +1,24 @@ +#include +#include "sales_data.hpp" +#include "sales_item.hpp" + +/* + * + * 3.3 + * + * + */ + +using std::string; +using std::cout; +using std::cin; +using std::cerr; +using std::clog; +using std::endl; +int main () { + + string word; + getline(cin, word); // Getline does not care about anything except the newline character. If it sees a newline it stops reading. + cout << word << endl; + return 0; +} -- cgit v1.2.3