Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(Java) Please include one data type class and one driver class in the program. Please also include a UML diagram and pseudocode. B. REQUIREMENT STATEMENT
(Java) Please include one data type class and one driver class in the program. Please also include a UML diagram and pseudocode.
B. REQUIREMENT STATEMENT THIS LAB REQUIRES OBJECT ORIENTED PROGRAMMING. YOU HAVE TO CREATE ONE DATA TYPE CLASS AND ONE DRIVER CLASS (include main) One company request an application that allows users to READ from the keyboard the information of a vendor: name (String), id (String), sale amount in the month (double) then calculate the salary of vendors based on the sale amount in the month to get base salary, commission or bonus: Commission Bonus AMOUNT OF SALE PER MONTH 0 to 20,000 20,000 to 30,000 Base salar 2500 3.5% on extra sales beyond 20,000 4.2% on extra sales beyond 20,000 2500 2% on any sales beyond greater than $30000 2500 30,000 The salary of a vendor in the month will be: Salary base salary + commission +bonus The output should be Vendor Name Vendor ID Total sale Base Salary: Commission Bonus: Total Amount made Smith Crystal 12345 32254 2500 504.67 45.08 3049.75Step 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