Website Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit4e4a0a5458c2e9b015d37956f10fe67f00c05285 (patch)
Author
 Angel Dimitriev <achi_d@abv.bg>
2021-10-28 10:51:58 -0400
Committer
 GitHub <noreply@github.com>
2021-10-28 10:51:58 -0400
Files38ce30ca6cc5a0e75c6d0349f2d076fc77f425b2
Introduction_to_programming_FMI-4e4a0a5458c2e9b015d37956f10fe67f00c05285.tar
Introduction_to_programming_FMI-4e4a0a5458c2e9b015d37956f10fe67f00c05285.tar.gz
Introduction_to_programming_FMI-4e4a0a5458c2e9b015d37956f10fe67f00c05285.zip
Parent4eb49067c08480fa0b435e6969655e142b71600d (diff)
Delete example 11 - reverse numbers by row
1 files changed, 0 insertions, 28 deletions
-rw-r--r--Sem. 03/example 11 - reverse numbers by row28
diff --git a/Sem. 03/example 11 - reverse numbers by row b/Sem. 03/example 11 - reverse numbers by row
deleted file mode 100644
index 66a90a9..0000000
--- a/Sem. 03/example 11 - reverse numbers by row
+++ /dev/null
@@ -1,28 +0,0 @@
-#include <iostream>
-
-using namespace std;
-
-int main()
-{
- int count;
- cin >> count;
-
- for (int i = 1; i <= count; i++)
- {
- if (i % 2 != 0)
- {
- for (int j = 1 + ((i - 1) * count); j <= i * count; j++)
- {
- cout << j << " ";
- }
- }
- else
- {
- for (int j = i * count; j > (i - 1) * count; j--)
- {
- cout << j << " ";
- }
- }
- cout << endl;
- }
-}