Write a program to take two integers as input
and output their sum.
Sample Input:
2
8
Sample Output:
10
Answers
Answered by
0
Answer:
find the attachment
Attachments:
Answered by
0
If in JAVA,
Using getText() or using Textboxes
double fn = Double.parseDouble(tb1.getText()); double sn= Double.parseDouble(tb2.getText());
resultNum.setText("Sum is " + (fn+sn));
Similar questions