Ohne Titel
Folien in diesem Satz (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
- Folienset am Ohne Titel, erstellt von Ghezala Mohamed am 03/11/2018.
- Erstellt von
- Ghezala Mohamed
- Aufrufe
- 0
- Bewertung