Write a C++ program to calculate and display the profit for each division of a company and the company’s total profit, and determine and display the division with the most profit. There are an unknown number of divisions. In main, have the user repeatedly: -have the user enter a division name (unknown number of divisions) -have the user enter the tax rate for this division, in percent format (prompt user with division name) -call overloaded function Get_Data in which the user inputs the sales for a division (prompt with division name) and the function assigns the sales back to main using a reference variable. Validate that the sales are zero or greater -call overloaded function Get_Data in which the user inputs the expenses for a division (prompt with division name) and the function returns the expenses back to main using a return statement. Validate that the expenses are zero or greater. We were unable to transcribe this imageShow transcribed image text Write a C++ program to calculate and display the profit for each division of a company and the company’s total profit, and determine and display the division with the most profit. There are an unknown number of divisions. In main, have the user repeatedly: -have the user enter a division name (unknown number of divisions) -have the user enter the tax rate for this division, in percent format (prompt user with division name) -call overloaded function Get_Data in which the user inputs the sales for a division (prompt with division name) and the function assigns the sales back to main using a reference variable. Validate that the sales are zero or greater -call overloaded function Get_Data in which the user inputs the expenses for a division (prompt with division name) and the function returns the expenses back to main using a return statement. Validate that the expenses are zero or greater.
Expert Answer
Answer to Write a C++ program to calculate and display the profit for each division of a company and the company’s total profit, a…