Question: program in java. Create a swing component program called TravelCommission.java. This program will be used to calculate the sales commission for a travel agency. An
program in java.



Create a swing component program called TravelCommission.java. This program will be used to calculate the sales commission for a travel agency. An agent can earn a commission on three types of sales (1) telephone, 2) in-store, and 3) outside) which earn a different sales commission. Telephone sales earn a 10% commission, in-store earns 14% and outside sales earn 18%. An agent will input their sales and the code for the type of sales. The program will then output the amount of the commission Use the following variables and methods. The getSales0 method should include exception handling for String input as well as input
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
