[Solved] SOLVED:Travel Commission java Program

30 $

File Name: SOLVED:Travel_Commission_java_Program.zip
File Size: 348.54 KB

SKU: [Solved] SOLVED:Travel Commission java Program Category: Tag:

Or Upload Your Assignment Here:


This program will be used to calculate the sales commission for a travel agency. Anagent 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 getSales() method should include exception handling for String input as well asinput <=0. Code a call to end the program if cancel is clicked.The getCode() method prompts the user for the type of sales. Include exceptionhandling for String input as well as input other than 1, 2 or 3. Code a call to end the program if cancel is clicked.

The getComm() method returns the amount of the commission. The output() methodoutputs a message dialog box. The finish() method exits the program.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] SOLVED:Travel Commission java Program
30 $