#include
int main()
{
int max_num, min_num, tmp;
std::cout « "Enter two numbers: ";
std::cin » max_num » min_num;
if (max_num < min_num)
{
tmp = max_num;
max_num = min_num;
min_num = tmp;
}
std::cout « "\nMax: " « max_num « "\nMin: " « min_num;
return 0;
}