摘要: 编写可以求两个数最大公约数和最小公倍数的函数。 1 #include <iostream> 2 #include <cmath> 3 using namespace std; 4 int fun1(int x,int y) 5 { 6 int temp; 7 if(x<y) 8 { 9 temp=x 阅读全文
posted @ 2023-04-18 20:08 新晋软工小白 阅读(136) 评论(0) 推荐(0)