编写函数求m和n的最大公约数与最小公倍数之差。
我的一直是编译错误,但我不知道错哪了
cout是C++的,但你没有包含C++的头文件
#include <iostream> using namespace std;