Graphical User Interfaces (GUI)
Create a GUI (Graphical User Interface) based calculator application that will provide for adding, subtracting, multiplying, or dividing two numbers provided by the user. The application will have two labeled text fields for user to enter two decimal numbers. It will have another labeled non-editable text field for displaying the result. It will have five buttons labeled: Add, Sub, Mult, Div, and Clear. The user will enter the two numbers in the first two text fields and press an operation button such as Add. The application will display the result of performing the required operation in the third field. If the user presses the Clear button, it will clear all the three text fields.
See figure: see image.