Need Help ?

Home >> Assignments >> computer_science >> A transaction record on a sales commission file contains the retail price of an item sold, atransaction code

(Solved): A transaction record on a sales commission file contains the retail price of an item sold, atransaction code ...



A transaction record on a sales commission file contains the retail price of an item sold, atransaction code which indicates the sales commission category to which an item can belong,and the employee number of the person who sold the item.the transaction code can contain the values,bor which indicate that the percentage commission will be 6%,8% or 10%respectively.construct an algorithm that willreada record on the file,calculatethe commissionowing for that record andprintthe retail price, commission and employee number.

Desk check of he uig e of an saction record on a sales commission file contains the retail Drice item sold, a transaction code that indicates the sales commission cate which an item can belong, and the employee number of the person who sol 1. A tran item. The transaction code can contain the values A, B or C, which indicate the percentage commission will be 6%, 8% or 10% respectively. Constru algorithm that will read a record on the file, calculate the commission ow that record, and print the retail price, commission and employee numberr ct owing for an (8 Marks



We have an Answer from Expert

View Expert Answer

Get Expert Solution


Java Code:

public class Test

{
   public static void main(String[] args)
    {
       @SuppressWarnings("resource")
   Scanner keyboard= new Scanner(System.in);

 

We have an Answer from Expert

Buy This Answer $5

Place Order

QUICK ORDER

Why Place An Order With Us?

  • Certified Editors
  • 24/7 Customer Support
  • Profesional Research
  • Easy to Use System Interface
  • Student Friendly Pricing
Order Now