c++ program a. Write a program to calculate the amount of wood needed to be purchased in order to create a rectangular wood frame. b. Prompt the user for two inputs: (1) One vertical dimension in inches (2) One horizontal dimension in inches c. The following should be calculated and outputted in the following order: (1) The amount of wood needed in inches (2) The amount of wood needed in feet (with a decimal answer if needed) d. Save this program as lab02a.cpp e. Run the program with the following test data: (1) One vertical dimension in inches = 40 (2) One horizontal dimension in inches = 60 2. Second program: a. Write a program to calculate the final cost of items purchased with a discount applied. b. Prompt the user for three inputs: (1) Cost per item (2) Number of items purchased (3) Discount rate c. A tax rate of 7 percent should be defined as a constant and the tax rate variable should be used for calculating the tax amount d. The following should be calculated and outputted in the following order: (1) Total cost before discount and before tax (2) Discount amount (3) Cost after the discount amount is applied (4) Tax amount (5) Final cost e. Save this program as lab02b.cpp f. Run the program with the following test data: (1) Cost per item = 5.75 (2) Number of items purchased = 10 (3) Discount rate = 15% D. Verify all results before you submit the lab. E. For each program, hand in: 1. A copy of the source code for each of the programs. A copy of the screen print for the output for each of the programs ~~~For this or similar assignment papers~~~