Website Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 0 insertions, 25 deletions
-rw-r--r--Sem. 03/example 10 - matrix25
diff --git a/Sem. 03/example 10 - matrix b/Sem. 03/example 10 - matrix
deleted file mode 100644
index dae43ab..0000000
--- a/Sem. 03/example 10 - matrix
+++ /dev/null
@@ -1,25 +0,0 @@
-#include <iostream>
-
-using namespace std;
-
-int main()
-{
- int count;
- cin >> count;
-
- for (int i = 1; i <= count; i++)
- {
- for (int j = 0; j < count; j++)
- {
- if (j % 2 == 0)
- {
- cout << i + (count * j) << " ";
- }
- else
- {
- cout << (j + 1) * count - (i - 1) << " ";
- }
- }
- cout << endl;
- }
-}