Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 inputStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started