Help, can someone provide me the code using JOptionPane for the following:-
1) Prompt user to make 3 selection i.e 1)Orchid $4.00 2)Rose $2.50 3)Daisy $5.00 or 0 to Quit 2) if user select 1,2 or 3, add the cost of the second item to the first; 3) if user select 0 to quit, display the total cost of the two items; otherwise, display the total of for 3 selections. User is only allowed to make a max of 3 selections.
Modify the above application so that if user makes a selection that the user has already made, ignore the selection. Do not add a second price for the same item to the total. The user is still allowed only 3 entries.
Tks & Rgds