最小公倍数

#include <iostream>
using namespace std;

// int x,y,temp,s,i;
// cout<<"请输入两个数";
// cin>>x>>y;
// if(i>y){
// temp=x;
// x=y;
// y=temp;
// }
// s=y*i;
// while(s%x!=0){
// i++;
// s=y*i;
// }
// cout<<"最小公倍数是"<<s;

return 0;}

 

posted @ 2023-07-18 09:26  园友3087003  阅读(25)  评论(0)    收藏  举报