public class MyClass {
public static void main() {
int a=4,b=3,c=0;
for(int x=1;x<=b;x++){
c=(c+a);
if(c%b==0){
System.out.println(c);
break;
}
}
}
}
Mobile Technology | Programming | Data Structure | C++ | Java |
Copyright © 2009 by Learn Technology
Template by Blogger Templates | Powered by Blogger
Comments :
0 comments to “FOUND GCD WITH JELIOT 3”
Post a Comment