Question: CS 1 1 6 Programming Fundamentals for Computer Science Lab # 7 A Objectives To learn to code, compile and run a program containing ARRAYS.
CS Programming Fundamentals for Computer Science Lab #A
Objectives
To learn to code, compile and run a program containing ARRAYS.
Assignment
Plan and code a modular program utilizing arrays.
A file contains an even number of integers, integers 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 array 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 the textfile below. Create the data file below in text editor or
Notepad.
Data File
Output
Label and output all three arrays.
Turn in
Top down design with parameters, program listing, and program output. Turn in all data files used in the
program.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
