Hello All,
I am having trouble controlling an array, can anybody please help.
Write a program to take two numerical lists of the same length ended by a
sentinel value and store the lists in array x any y, each of which
has 20 elements. Let n be the actual number of data values in each
list. Store the product of corresponing elements x and y in a third
array, z, also of size 20. Display the arrays x, y, and z in a three-column
table. Then compute and display the square root of the sum of...
Read more
I am having trouble controlling an array, can anybody please help.
Write a program to take two numerical lists of the same length ended by a
sentinel value and store the lists in array x any y, each of which
has 20 elements. Let n be the actual number of data values in each
list. Store the product of corresponing elements x and y in a third
array, z, also of size 20. Display the arrays x, y, and z in a three-column
table. Then compute and display the square root of the sum of...
Read more