second commit

This commit is contained in:
My Name 2024-11-06 13:43:43 +04:00
parent 55d6588ecf
commit 8e462c809e

View File

@ -1,35 +1,6 @@
#include <stdio.h> #include <stdio.h>
#include <Windows.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() { void Task2() {
printf("Task2() START\n"); printf("Task2() START\n");