GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Notizen

becky: dialoguebox

Ghezala Mohamed Englisch 1 Seite

Inhalt der Notizen (1)

Seite 1

String fn = JOptionPane.showInputDialog("enter the first number "); //message to ask for the first nnumber String sn = JOptionPane.showInputDialog("enter the second number "); //message to ask for the second nnumber int numb1 = Integer.parseInt(fn); int numb2 = Integer.parseInt(sn); int sum = numb1 + numb2; /////nowtodisplay//// JOptionPane.showMessageDialog(null, "The sum is : " + sum,"tamreen el jamm",JOptionPane.ERROR_MESSAGE);

Informationen

Beschreibung
Notiz am becky: dialoguebox, erstellt von Ghezala Mohamed am 03/11/2018.
Erstellt von
Ghezala Mohamed
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck