求最小公倍数的最简模板

public class Main128 {

     
     public static int f(int a, int b)  
        {  
            int i;  
            for(i=a;;i+=a){ // 填空   
                if(i%b==0) return i;  
            }  
        }  
        public static void main(String[] args){  
            System.out.println(f(6,8));  
        }  

}
原文地址:https://www.cnblogs.com/ls-pankong/p/10468597.html