package javaapplication13;
import javax.swing.JOptionPane;
@author Administrador
public class JavaApplication13 {
* @param args the command line arguments
public static void main
(String[] args
) { int n1,n2,n3,con=0,a, mcd=0;
while (con==0){
num1
=JOptionPane.
showInputDialog(" ingrese primer numero" ) ;num2
=JOptionPane.
showInputDialog(" ingrese el segundo numero" ) ;num3
=JOptionPane.
showInputDialog(" ingrese tercer numero" ) ;
if(n1<2&&n1<n3) {
a=n1; }
else
if (n2<n1&&n2<n3){
a=n2; }
else {
a=n3; }
for(int x=1; x<=a; x++){
if(n1 % x == 0 & n2 % x == 0 & n3 % x == 0){
mcd=x;
}
}
if(mcd>10){
con=1;
}
}
}
}
cGFja2FnZSBqYXZhYXBwbGljYXRpb24xMzsKaW1wb3J0IGphdmF4LnN3aW5nLkpPcHRpb25QYW5lOwpAYXV0aG9yIEFkbWluaXN0cmFkb3IKCnB1YmxpYyBjbGFzcyBKYXZhQXBwbGljYXRpb24xMyB7CgoqIEBwYXJhbSBhcmdzIHRoZSBjb21tYW5kIGxpbmUgYXJndW1lbnRzCgpwdWJsaWMgc3RhdGljIHZvaWQgbWFpbihTdHJpbmdbXSBhcmdzKSB7ClN0cmluZyBudW0xLG51bTIsbnVtMzsKaW50IG4xLG4yLG4zLGNvbj0wLGEsIG1jZD0wOwp3aGlsZSAoY29uPT0wKXsKbnVtMT1KT3B0aW9uUGFuZS5zaG93SW5wdXREaWFsb2coIiBpbmdyZXNlIHByaW1lciBudW1lcm8iICkgOwpudW0yPUpPcHRpb25QYW5lLnNob3dJbnB1dERpYWxvZygiIGluZ3Jlc2UgZWwgc2VndW5kbyBudW1lcm8iICkgOwpudW0zPUpPcHRpb25QYW5lLnNob3dJbnB1dERpYWxvZygiIGluZ3Jlc2UgdGVyY2VyIG51bWVybyIgKSA7Cm4xPUludGVnZXIucGFyc2VJbnQobnVtMSkgOwpuMj1JbnRlZ2VyLnBhcnNlSW50KG51bTIpIDsKbjM9SW50ZWdlci5wYXJzZUludChudW0zKSA7CgppZihuMTwyJiZuMTxuMykgewphPW4xOyB9CmVsc2UgCmlmIChuMjxuMSYmbjI8bjMpewphPW4yOyB9CmVsc2UgewphPW4zOyB9CgoKZm9yKGludCB4PTE7IHg8PWE7IHgrKyl7CmlmKG4xICUgeCA9PSAwICYgbjIgJSB4ID09IDAgJiBuMyAlIHggPT0gMCl7Cm1jZD14OyAKfSAKfQpKT3B0aW9uUGFuZS5zaG93TWVzc2FnZURpYWxvZyhudWxsLCJtLmMuZCBlcyAiK21jZCkgOwppZihtY2Q+MTApewpjb249MTsgCn0KfQp9Cn0=
Main.java:3: error: class, interface, or enum expected
@author Administrador
^
Main.java:7: error: illegal start of type
* @param args the command line arguments
^
Main.java:7: error: illegal start of type
* @param args the command line arguments
^
Main.java:7: error: ';' expected
* @param args the command line arguments
^
Main.java:7: error: ';' expected
* @param args the command line arguments
^
Main.java:7: error: ';' expected
* @param args the command line arguments
^
6 errors