2024-11-18 23:38:10 +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-18 23:40:07 +04:00
|
|
|
|
}
|
|
|
|
|
\\\\\\\\\\\
|