summaryrefslogtreecommitdiff
path: root/3p1-1p10.cpp
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-08-03 22:51:15 +0200
committerOskar <[email protected]>2024-08-03 22:51:15 +0200
commit1d105b91b9678ffaa8eddea2218ed1789f5be27c (patch)
tree89563fd6bcbe5411b244ac361098fbdddc321f5f /3p1-1p10.cpp
parent0de72ab100011ab54f99f298e936327011ebc706 (diff)
more assignments
Diffstat (limited to '3p1-1p10.cpp')
-rw-r--r--3p1-1p10.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/3p1-1p10.cpp b/3p1-1p10.cpp
new file mode 100644
index 0000000..79a1396
--- /dev/null
+++ b/3p1-1p10.cpp
@@ -0,0 +1,23 @@
+#include <iostream>
+#include "sales_item.hpp"
+
+/*
+ *
+ * 3.1, 1.10
+ *
+ *
+ */
+
+using std::cout;
+using std::cin;
+using std::endl;
+int main () {
+
+ int i = 10;
+ while(i >= 0) {
+ cout << i << endl;
+ i--;
+ }
+
+ return 0;
+}