Compare commits

..

No commits in common. "994e60c638462ad017d988be026dbc1b8c1aa04f" and "e4c314b6d6298b9cd7e915616fe412385278cb6a" have entirely different histories.

View File

@ -43,27 +43,32 @@ void Task3() {
printf("Task3() FINISH\n");
}
void main()
{
int odin, dwa, max, min;
void main() {
SetConsoleCP(1251);
SetConsoleOutputCP(1251);
printf("Ďĺđâîĺ ÷čńëî - ");
scanf_s("%d", &odin);
printf("Âňîđîĺ ÷čńëî - ");
scanf_s("%d", &dwa);
if (odin > dwa) {
min = dwa;
max = odin;
}
else {
min = odin;
max = dwa;
}
printf("Áîëüřĺĺ ÷čńëî - %d\n", max);
printf("Ěĺíüřĺĺ ÷čńëî - %d", min);
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);
}
123456