Compare commits

..

No commits in common. "96bb7449f7ec54c20daeb6623d49ca830a5ca363" and "55d6588ecf2486ece7475a4ab6d77572435a8414" have entirely different histories.

View File

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