#include <iostream.h>void main(){ int i,j,k,t; cout<<"enter:"; cin>>i>>j; for(k=i*j;k>=i&&k>=j;k--) { if(k%i==0&&k%j==0) t=k; } cout<<"最小公倍数是:"<<t<<endl;}