4.2 First Application : FirstApp
For my first application,
I have made an application which has two buttons and a counter which shows the final result.
This app basically uses a variable,
which is set to zero initially, and when we click the add one button it adds one to the current
value of the variable.
when we click on the subtract one button,
it subtracts one from the current value of the variable.
On clicking the “Add one” button, 1 is added to the current total.
On clicking the “Subtract one” button, 1 is subtracted from the current total.