Question: Create a mobile application using Java programming: A Spinner is needed to advertise 3 tourist tours that are on sale (Zoo, Beach, Pitch Lake). A
Create a mobile application using Java programming:
A Spinner is needed to advertise 3 tourist tours that are on sale (Zoo, Beach, Pitch Lake). A zoo tour costs $500, a Maracas tour costs $600 and a Pitch_Lake tour costs $800.
include a checkbox called PREVIOUS_CUST, which if selected, gives a 20% discount on any tour selected from the Spinner.
include a button, which when clicked, gets the price of the tour that was selected from the Spinner and adds the PREVIOUS_CUST discount if applicable to work out the cost of the tour. Print the cost in a Toast or widget.
Step by Step Solution
There are 3 Steps involved in it
Answer import androidosBundle import androidviewView import androidwidgetAdapterView import androidw... View full answer
Get step-by-step solutions from verified subject matter experts
