summaryrefslogtreecommitdiff
path: root/1p20.cpp
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-07-28 12:52:38 +0200
committerOskar <[email protected]>2024-07-28 12:52:38 +0200
commit5aac3c3f8bcfef0b2aad28d91d87b9ebf1d5e7df (patch)
tree38736b9f0c57f69e272121e0fc1f3969bb7468e2 /1p20.cpp
first commit
Diffstat (limited to '1p20.cpp')
-rw-r--r--1p20.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/1p20.cpp b/1p20.cpp
new file mode 100644
index 0000000..7309b2c
--- /dev/null
+++ b/1p20.cpp
@@ -0,0 +1,19 @@
+#include <iostream>
+#include "sales_item.hpp"
+
+/*
+ *
+ * Exercise 1.20
+ *
+ *
+ */
+
+int main () {
+
+ Sales_item item1;
+ while(std::cin >> item1) {
+ std::cout << item1 << std::endl;
+ }
+
+ return 0;
+}