Discuss the below:
Q: Write a c++ program that accepts the name and sales of a salesperson. Using an IF statement, determine the level and commission using the table below:
sales level commission
Below 15,000 "green" 0
15,000 to 25,000 "blue" 1,500 + 25% of sales that exceeds 15,000
Above 25,000 "red" 2,500 + 35% of sales that exceeds 25,000
Display name, sales, level and the commission of the salesperson.