Write a C++ program using call by reference in both a void f…

Write a C++ program using call by reference in both a void function and a value-returning function. Your program should: Accept two integers from the user. Use a void function named doubleValues to double the values of both integers using call by reference. Use a value-returning function named mult to calculate and return the multiplication of the two modified values. This function should also use call by reference (with const references). Display: The original values entered by the user. The values after doubling. The multiplication of the doubled values.

Write a C++ program using call by reference in both a void f…

Write a C++ program using call by reference in both a void function and a value-returning function. Your program should: Accept two integers from the user. Use a void function named doubleValues to double the values of both integers using call by reference. Use a value-returning function named sum to calculate and return the sum of the two modified values. This function should also use call by reference (with const references). Display: The original values entered by the user. The values after doubling. The sum of the doubled values.

Decadent Desserts Industries incurs the following costs duri…

Decadent Desserts Industries incurs the following costs during the current year: Depreciation of machinery $7,000 Direct labor 16,000 Direct materials 8,500 Executive salaries 10,000 Insurance 2,000 Rent on building 12,000 Sales commissions 10,000 Vehicle lease cost 5,000 Sales for the year were $100,000 and Decadent Desserts Industries determined that only the direct production costs (prime costs) and sales commissions are to be classified as variable costs; all other costs are classified as fixed costs. Decadent Desserts Industries sold 1,000 units.DO NOT round any numbers.  (a) Calculate the total contribution margin. $[CM] (b) Calculate the contribution margin per unit. $[CMun] (c) Calculate the contribution margin ratio. [ratio]