write a program in c++ that prompts the used to enter 50 intergers and stores them in an array. the program then determines and outputs which numbers in the array are sum of the two other array...


write a program in c++ that prompts the used to enter 50 intergers and stores them in an array.  the program then determines and outputs which numbers in the array are sum of the two other array elements.  If an array element is the sum of two other array elements, then for this array element, the program should output all such pairs.  use the below code to write the defention of the functions.


#include


#include


using namespace std;


void initialize(double list[], int size);


void print(double list[], int size);


int main()


{


double alpha [50];


initialize(alpha, 50);


print(alpha, 50);


return 0;


}



Jun 01, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here