摘要: 运行结果如下 阅读全文
posted @ 2019-08-06 16:55 魔仙小丽丽 阅读(576) 评论(0) 推荐(0) 编辑
摘要: 1 #include "pch.h" 2 #include 3 using namespace std; 4 5 int main() 6 { 7 //3. 求两自然数m, n的最大公约数 (25分) 8 cout >m; 12 cout > n; 14 int i, g; 15 for (i = 1; i <= m && i... 阅读全文
posted @ 2019-08-06 16:11 魔仙小丽丽 阅读(730) 评论(0) 推荐(0) 编辑
摘要: #include "pch.h" #include using namespace std; int main() { cout = i) { cout << i; //cout << "\n"; } cout << "\n"; } } 阅读全文
posted @ 2019-08-06 15:22 魔仙小丽丽 阅读(1472) 评论(0) 推荐(0) 编辑