Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a Java program that accepts the total amount of cars sold and total sales amount of a car salesperson for a given month. The

image text in transcribed
Write a Java program that accepts the total amount of cars sold and total sales amount of a car salesperson for a given month. The salesperson's paycheck is computed as follows: a. Every sales person gets 10% (commission) of total sales b. Sales totals greater than $50,000 get 5% of total sales amount c. 8 or more cars sold earns the salesperson an extra 3% Please remove 30% (taxes) of the gross pay and list the paycheck amount. Your output must include: Total Cars Sold (example: 7) Total S amount of Cars Sold (example: 70000) Commission Amount (example: 7,000) Sales Total Bonus (example: 3,500) Number of Cars Sold Bonus (example: 0) Gross Pay (example: 10,500) Tax Amount (example: 3,150) Net Pay (example: 7,350) Must use a loop to run the program until the user enters a 'X' to exit

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Expert Oracle9i Database Administration

Authors: Sam R. Alapati

1st Edition

1590590228, 978-1590590225

More Books

Students also viewed these Databases questions

Question

Why is the System Build Process an iterative process?

Answered: 1 week ago