el codigo es
import javax.swing.*;
public class Mult{
public static void main(String[] args){
String ax = JOptionPane.showInputDialog("Ingrese un Numero");
int a = Integer.parseInt(ax);
String bx = JOptionPane.showInputDialog("Ingrese un Numero");
int b = Integer.parseInt(bx);
String cx = JOptionPane.showInputDialog("Ingrese un Numero");
int c = Integer.parseInt(cx);
int resultado;
resultado = a * b * c;
JOptionPane.showMessageDialog(null, "La Multiplicacion es de : "+a+ "* "+b+"* "+c+ " =:"+resultado);
}
}
No hay comentarios:
Publicar un comentario