Revert "second commit"

This reverts commit 485f080cdb.
This commit is contained in:
My Name 2024-11-06 13:57:25 +04:00
parent 485f080cdb
commit 374b72b913

View File

@ -1,6 +1,35 @@
#include <stdio.h>
#include <Windows.h>
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");
@ -20,7 +49,11 @@ void Task2() {
printf("Task2() FINISH\n");
}
void Task3() {
printf("Task3() START\n");
printf("Task3() FINISH\n");
}
void main() {
SetConsoleCP(1251);