diff options
author | Oskar <[email protected]> | 2024-08-03 22:51:15 +0200 |
---|---|---|
committer | Oskar <[email protected]> | 2024-08-03 22:51:15 +0200 |
commit | 1d105b91b9678ffaa8eddea2218ed1789f5be27c (patch) | |
tree | 89563fd6bcbe5411b244ac361098fbdddc321f5f /3p3.cpp | |
parent | 0de72ab100011ab54f99f298e936327011ebc706 (diff) |
more assignments
Diffstat (limited to '3p3.cpp')
-rw-r--r-- | 3p3.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -0,0 +1,24 @@ +#include <iostream> +#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; +} |