GoConqr has a new look! Let us know what you think.

Notes

becky: dialoguebox

Ghezala Mohamed English 1 page

Content of the notes (1)

Page 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);

Information

Description
Note on becky: dialoguebox, created by Ghezala Mohamed on 03/11/2018.
Created by
Ghezala Mohamed
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?