aboutsummaryrefslogtreecommitdiff
path: root/Semestr 4/aisd
diff options
context:
space:
mode:
authorFranciszek Malinka <franciszek.malinka@gmail.com>2021-02-25 12:27:15 +0100
committerFranciszek Malinka <franciszek.malinka@gmail.com>2021-02-25 12:27:15 +0100
commit1968c1e590077bd51844eacfac722d7963848cb8 (patch)
tree3d671d26113565fb842d467f1f22c62981e437ba /Semestr 4/aisd
parente881892ddd5009949aff5d978c1cc83880399410 (diff)
Lista 0 ASK
Diffstat (limited to 'Semestr 4/aisd')
-rw-r--r--Semestr 4/aisd/rozw.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/Semestr 4/aisd/rozw.cpp b/Semestr 4/aisd/rozw.cpp
new file mode 100644
index 0000000..8093708
--- /dev/null
+++ b/Semestr 4/aisd/rozw.cpp
@@ -0,0 +1,10 @@
+#include<iostream>
+using namespace std;
+
+int main() {
+ int a, b;
+ cin >> a >> b;
+ if (b < a) swap(a,b);
+ for (int i = a; i <= b; i++)
+ cout << i << "\n";
+} \ No newline at end of file