aboutsummaryrefslogtreecommitdiff
path: root/Semestr 4/aisd
diff options
context:
space:
mode:
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