This commit is contained in:
Zodiak 303 2024-10-31 02:25:58 +04:00
parent 17f57192f5
commit 994e60c638

View File

@ -43,34 +43,6 @@ void Task3() {
printf("Task3() FINISH\n");
}
void main() {
SetConsoleCP(1251);
SetConsoleOutputCP(1251);
int n = -1;
do {
printf("\n");
printf("\n");
printf("Âûáåðèòå íóæíóþ âàì îïåðàöèþ:\n");
printf("1: Çàäà÷à 1 (i * 10 + j)\n");
printf("2: Çàäà÷à 2 (Òàáëèöà Ïèôàãîðà)\n");
printf("3: Çàäà÷à 3 (Ðèñóíîê ïî âàðèàíòó)\n");
printf("\n");
printf("0: Âûéòè èç ïðîãðàììû\n");
scanf_s("%d", &n);
switch (n) {
case 1:
Task1();
break;
case 2:
Task2();
break;
case 3:
Task3();
break;
}
} while (n != 0);
}
void main()
{
int odin, dwa, max, min;