please solve this question for me now..
CSC1103 STRUCTURED PROGRAMMING
Lab Test 2
Write a program to read N data items into two arrays, X and Y, of size 10. Store the product of corresponding elements of X and Y in a third array, Z, also size of 10. Print a three-column table displaying the arrays X, Y, and Z, then compute and print the square of the sum of the items in Z.
You have to define 3 functions to solve the above problem:
1. Function INPUT() to read N data and store in array X and Y each.
2. Function PRODUCT() to store the product of 2 elements in array X and Y and store in array Z. Print a three-column table displaying the arrays X, Y, and Z.
For example: Z = X + Y, Z = X + Y…………… Z = X + Y.
3. Function DISPLAY() to compute and print the square of the sum of the items in Z.