Question: Step 1: Write the code shown below and debug it please having issues getting it to work. Please help using C++ Step 2: Modify the
Step 1: Write the code shown below and debug it please having issues getting it to work. Please help using C++

Step 2: Modify the code to use functions. Create a getInput function, a calcTotal function and a displayResults function. The purpose of getInput is to prompt the user for input and assign values to the 2D array. The purpose of the caclTotal function is to process the 2D Array and accumulate the total sales. The purpose of the displayResults functionn is to display the entire 2D array for quarterly sales as well as the total sales. The main function should consist of variable declarations and function calls. Do not use global variables. Pass the data through functions parameters or value returning functions.
1 /7 This program demonstrates a two-dimensional array. #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
