#include using namespace std; //Define the Complex structure struct Complex { double real, img; }; //read function. Reads in an array of Complex void read(Complex arr[], int size) { cout<<"Enter the "<> arr[i].real >> arr[i].img; //read in the values } int main() { Complex arrar[10]; //call read to get data read(array, 10); Complex sum = {0,0}; //using set notation to initialize // This sets the real and img elements of sum to 0 for(int i=0; i<10; i++) { Complex.real += array[i].real; Complex.img += array[i].img; } //Since the + opeerator is not defined for Complex, like it is for ints and doubles, //we have to add each part separately. cout<<"The sum is "<