Documentos de Académico
Documentos de Profesional
Documentos de Cultura
//import java.io.IOException;
//import java.util.Scanner;
import javax.swing.JOptionPane;
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
int var1 = 0;
int var2 =0;
int resultado;
try {
var1= Integer.parseInt(JOptionPane.showInputDialog("Ingrese Un
Numero"));
}
catch (ArithmeticException ae) {
System.out.println("Error, Operaci�n Invalida" + ae.getMessage());
catch(Exception e){
System.out.println("Error!" + e.getMessage());
}
}