Calculator App
New Post:
Calculator App
A simple calculator app for addition, multiplication, division, subtraction and to reset the variables.
Lesson Learnt:
1. Get input from user:
For getting the input in numeric form we need to select the EditText number form.
2. Switch case based upon the id
With the help of button id implement a switch case.
3. With the help of one OnClickListener how multiple button can use it.
4. Set the variables and reset the variables.
Calculator App
A simple calculator app for addition, multiplication, division, subtraction and to reset the variables.
Lesson Learnt:
1. Get input from user:
For getting the input in numeric form we need to select the EditText number form.
2. Switch case based upon the id
With the help of button id implement a switch case.
3. With the help of one OnClickListener how multiple button can use it.
4. Set the variables and reset the variables.
Comments
Post a Comment