please solve this question for me now..
thanks..
CSC1103 STRUCTURED PROGRAMMING
Lab Test 2
Problem statement
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.
Problem solving:
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[0] = X[0] + Y[0], Z[1] = X[1] + Y[1]…………… Z[9] = X[9] + Y[9].
3. Function DISPLAY() to compute and print the square of the sum of the items in Z.

Ancient Dragon commented: Do your own homework -5

>>please solve this question for me now..
No. Do it yourself.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.