2024-11-19 00:50:40 +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:51:51 +04:00
|
|
|
|
}
|
|
|
|
|
\\\\
|
|
|
|
|
\\\\
|