摘要: #include <iostream> using namespace std; class Distance { private: int feet; // 0 到无穷 int inches; // 0 到 12 public: // 所需的构造函数 Distance(){ feet = 0; inches = 0; } Distance(int f, int i){ feet = f; inc 阅读全文
posted @ 2019-08-09 17:26 流照君 阅读(169) 评论(0) 推荐(0)
摘要: Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is yes, if 6 is a decimal number and 110 is a 阅读全文
posted @ 2019-08-09 08:45 流照君 阅读(192) 评论(0) 推荐(0)