Project: Chapter 3, pg. 39, Exercise #4 Create a Project called TipCalculator. Refer to instructions in the textbook. ▪

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Project: Chapter 3, pg. 39, Exercise #4 Create a Project called TipCalculator. Refer to instructions in the textbook. ▪

Post by answerhappygod »

Project: Chapter 3, pg. 39,Exercise #4
Create a Project called TipCalculator. Refer to instructions inthe textbook.
▪ The main activity layout should contain one EditText, threebuttons, and one TextView (Figure 3.10). ▪ The first buttonshould be labeled 15% and should take the amount entered in theEditText and calculate 15% of that value. ▪ The secondbutton should be labeled 18% and should take the amount entered inthe EditText and calculate 18% of that value. ▪ The third buttonshould be labeled 20% and should take the amount entered in theEditText and calculate 20% of that value. ▪ All the buttonsshould display the tip and total bill in the TextView with thisformat: Tip: $99.99, Total Bill: $99.99. ▪ The widgetsshould be centered horizontally in the screen with the EditText ontop, the button below it in a single row, and the TextView belowthe button.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply