In this section, you will learn how to determine addition, multiplication, division and modulus of two numbers. To find this, we have created two textboxes and four button for the corresponding functions. As the user clicks the button after entering the bumbers in their respective textboxes, the result will get displayed through the alert box.
Here is the code:
|
<html> |
Output:
![]() |
On clicking the 'Add' button, result will get displayed:
![]() |