I need functionality attached to the code (I have code already with me if you need it)
baral_justin
Question
Task 1 (5 marks): add the functionality to the previous assignment (attached below):
Grading: the completed assignment application must implement the following functionality:
- when one of the command buttons (Add, Subtract, Multiple, or Divide) is clicked, retrieve the values from the Value 1 and Value 2 text fields, and convert the retrieved values to the double type. Then, calculate and display the result in the "(there is a label here...)" label using the following format:
- the ddd of aaa and bbb is ccc
- where aaa is the value retrieved from Value 1 text field
- where bbb is the value retrieved from Value 2 text field
- where ccc is the result of the calculation
- where ddd is the action taken (Add, Subtract, Multiple, or Divide)
- the ddd of aaa and bbb is ccc
Task 2 (5 marks): re-create the functional Calculator App using FXML
Submission: (a) all the .java files with the code, (b) the created FXML document, (c) the image of the running application with values entered in the Value 1 and Value 2 text fields as well as the result displayed in the result label.
Note: errors (the code does not run) in the submitted code will result in a 50% penalty.
Details
Attachments
Purchase An Answer Below