From 485f080cdb8b63fc8f5055397c3ab1be0e99e833 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 | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/Project2/Project2/Source.cpp b/Project2/Project2/Source.cpp index ffdeeb6..fe717ef 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"); @@ -49,11 +20,7 @@ void Task2() { printf("Task2() FINISH\n"); } -void Task3() { - printf("Task3() START\n"); - printf("Task3() FINISH\n"); -} void main() { SetConsoleCP(1251);