Build an application that invites the user to enter an integer number into each of two EditText

Question:

Build an application that invites the user to enter an integer number into each of two EditText boxes. The application must have four buttons, one for each of the arithmetic operators: addition, subtraction, multiplication, and division. When clicked, these buttons cause the application to perform the operation on the input numbers and display the result. The application must test the second integer for zero when the chosen operation is division. If it is division and the second operand is zero, an error message must be displayed. The application must have just one activity.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: