摘要: #include using namespace std; double harmonicMean(double x, double y); int main() { double x, y; while (cin >> x >> y) { // 这一步是读取一行的两个数 if (0 == x || 0 == y) break; cout << harmonicMean(x, y... 阅读全文
posted @ 2018-09-27 23:14 ranwuer 阅读(1412) 评论(0) 推荐(0) 编辑