Design a solution that prints the amount of pay a commissioned salesperson takes home. The more sales documented, the larger the commission rate.Allow the user to input a total sales amount for the week. Compute the commission based on the following table. Display the pay amount formatted with commas, decimals, and a dollar symbol.
less than $1000: 3% $1001–$5000: 5% $5001–$10000: 6% over $10000: 7%
Be sure to design your solution so that all possible situations are accounted for and tested. What values did you enter and test to verify your program’s correctness?