Question: Write a C++ program based on the use of for loop and ARRAYS. The program should ask the user to enter the sales via the

 Write a C++ program based on the use of for loop

Write a C++ program based on the use of for loop and ARRAYS. The program should ask the user to enter the sales via the keyboard for each quarter during two years (Year 1 and Year 2) using two dimensional 2D array. The program should: a) save the values in the 2D array b) read from the 2D array and display the values on the sereen. Your output must look like the figure. Enter the profit for a each Year 1. quarter 1 1 Year 1 quarter 22 Year 1. quarter 33 Year 1. quarter 4 4 Year 2, quarter i!5 ear 2. quarter 2 Year 2, quarter 3 Year 2. quarter 4 6 ? 8 The sales for 2 yers arei 2 6 3 7 4 8 5

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!