|
Here is the first 1st problem:
Assiggnment: Plan and code a modular program utilizing arrays; use at least three functions to solve the problem.
Problem: A File contains an even number of integers, 2 integer per record. Input the first number of each record into one array. Input the second number of each record into a second array.
Multiply the first element of each arrays and store the product in the third array. Multiply the remaining elements of the first two arrays, storing the product in the third array.
Input: Input a set of numbers. Use input from a textfile
Output: Label and output all three arrays.
Thank you very much
|