Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

**I need help with this assignment very badly. I have tried over and over but I

ID: 3688030 • Letter: #

Question

**I need help with this assignment very badly. I have tried over and over but I can't figure out how to send the data from the first file to the second one. I have only found solutions for the first program but I need one with both programs. If possible, could you please do BOTH programs. Please and thank you!!!

Write 2 programs: One program will use a structure to store the following data on a company division:

Division Name (such as East, West, North, or South)

Quarter (1, 2, 3, or 4)

Quarterly Sales

The user should be asked for the four quarters' sales figures for the East, West, North, and South divisions. The data for each quarter for each division should be written to a file.

The second program will read the data written by the first program. The program should calculate and display the following figures:

Total corporate sales for each quarter

Total yearly sales for each division

Total yearly corporate sales

Average quarterly sales for the divisions

The highest and lowest quarters for the corporation

Input Validation: Do not accept negative numbers for any sales figures.

Explanation / Answer

Hi below i have written the code for your reference,

01 #include <iostream>