From 8e462c809ebf2d1c1c574acb82a16ea2835bd1e9 Mon Sep 17 00:00:00 2001 From: My Name Date: Wed, 6 Nov 2024 13:43:43 +0400 Subject: [PATCH] second commit --- Project2/Project2/Source.cpp | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/Project2/Project2/Source.cpp b/Project2/Project2/Source.cpp index ffdeeb6..32a1625 100644 --- a/Project2/Project2/Source.cpp +++ b/Project2/Project2/Source.cpp @@ -1,35 +1,6 @@ #include #include -void Task1() { - printf("Task1() START\n"); - - int n, m; - - printf("n, m = \n"); - scanf_s("%d%d", &n, &m); - - if (n > 9 || m > 9) { - printf("Значения n и m должны быть не больше 9.\n"); - return; - } - - int i = 1; - do { - int j = 1; - do { - printf("%d ", i * 10 + j); - j++; - } while (j <= m); - - printf("\n"); - i++; - } while (i <= n); - - - - printf("Task1() FINISH\n"); -} void Task2() { printf("Task2() START\n");