Make sure all calculations are done correctly. Implementation of code for calculate button as specified. Implementation of code for clear button as specified.Ĭan delete the text in total amount and tax amount so that 0.00 is display as hint. Note: Make sure that you format all numbers appropriately.Ĭan use hint to display 0.00 in text box for entering total amount and tax amount. ➢ Display the result using appropriate text views. ➢ Calculate grand total = total amount + tax amount + tip amount ➢ Calculate tip amount = total amount * tip percentage ➢ Check the status of radio button to determine the tip percentage ➢ Read the data from text box for tax amount ➢ Read the data from text box for entering total amount ➢ Set text view to display grand total (total amount + tax amount + tip amount) is ➢ Set text view to display tip amount is set to 0.00 ➢ Set text box for entering tax amount to 0.00 ➢ Set text box for entering total amount to 0.00 ➢ Text view to display grand total (total amount + tax amount + tip amount) is set toĪlso, add the following functionality for our buttons: ➢ Text view to display tip amount is set to 0.00 ➢ Text box for entering tax amount is set to 0.00 ➢ Text box for entering total amount is set to 0.00 When you start the Tip Calculator App it should display the screen with the following We already have GUIsįor the tip calculator from HW Assignment # 2. In this HW we will add functionality to our Tip Calculator App. Tip Calculator App can be used to calculate tip amount and total amount for a restaurant
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |