Exercise 2 Write CH program that solve the following problem. A company maintains a log of information about its employees in a file with the following format. The company wants to find the accumulative annual taxes and monthly taxes according to the following equations. Annual_tax =(salary*12+benefits*6)*6% Monthly_tax=(salary+benefits)*2% Your program should include the following functions Tax_calculate : that calculates and return both the annual and monthly taxes according to the above equations Void Tax_calculate (int salary, int benefits, double &annual_tax,double & monthly_tax). Sum_annualTax : calculates summation of annual taxes. void Sum_annualTax (double annual_tax, int flag) Sum_monthly Tax : calculates summation of Untitled - Notepad monthly taxes. File Edit Format View Help void Sum_monthlyTax (double monthly_tax, name salary benefits int flag) ahmed 1200 120 900 97 Exercise 3 tazen 1400 55 Write a program that reads a values y from the screen, then 65 calculate the following equation only for unsigned values ahmedy 1800 120 sadon 1900 90 53 tazem maemar 143 62 I The program should contain three functions, salar mamon 143 -1 a= - 1700 Exercise 2 Write CH program that solve the following problem. A company maintains a log of information about its employees in a file with the following format. The company wants to find the accumulative annual taxes and monthly taxes according to the following equations. Annual_tax =(salary*12+benefits*6)*6% Monthly_tax=(salary+benefits)*2% Your program should include the following functions Tax_calculate : that calculates and return both the annual and monthly taxes according to the above equations Void Tax_calculate (int salary, int benefits, double &annual_tax,double & monthly_tax). Sum_annualTax : calculates summation of annual taxes. void Sum_annualTax (double annual_tax, int flag) Sum_monthly Tax : calculates summation of Untitled - Notepad monthly taxes. File Edit Format View Help void Sum_monthlyTax (double monthly_tax, name salary benefits int flag) ahmed 1200 120 900 97 Exercise 3 tazen 1400 55 Write a program that reads a values y from the screen, then 65 calculate the following equation only for unsigned values ahmedy 1800 120 sadon 1900 90 53 tazem maemar 143 62 I The program should contain three functions, salar mamon 143 -1 a= - 1700