2024-11-19 00:20:15 +04:00
|
|
|
|
#include <stdio.h>
|
|
|
|
|
#include <Windows.h>
|
|
|
|
|
|
|
|
|
|
void main()
|
|
|
|
|
{
|
|
|
|
|
int odin, dwa, max, min;
|
|
|
|
|
|
|
|
|
|
SetConsoleCP(1251);
|
|
|
|
|
SetConsoleOutputCP(1251);
|
|
|
|
|
|
|
|
|
|
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> - ");
|
|
|
|
|
scanf_s("%d", &odin);
|
|
|
|
|
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> - ");
|
|
|
|
|
scanf_s("%d", &dwa);
|
|
|
|
|
|
|
|
|
|
if (odin > dwa) {
|
|
|
|
|
min = dwa;
|
|
|
|
|
max = odin;
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
min = odin;
|
|
|
|
|
max = dwa;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> - %d\n", max);
|
|
|
|
|
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> - %d", min);
|
2024-11-19 00:21:14 +04:00
|
|
|
|
}
|
2024-11-19 00:23:32 +04:00
|
|
|
|
\\\\\
|
2024-11-19 00:21:14 +04:00
|
|
|
|
\\\\\
|