second commit

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

View File

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