OK I am having problems understanding how to get started on a program so if someone could try and explain this to me adn start me off or give me a clue or something it would be helpful. Im not a cse major and so its kind of fuzzy to me.
For this assignment, assume experiment X has been run 3 times, and that each
run produced 15 results, and each result is treated as an integer. So the data
structure of choice will be an array of 3 pointers, each of which points to one
of the arrays of 15 results of a given run of the experiment.
Declare the array of pointers in main() and initialize each element to
0 (zero). Then, for each element of the array of pointers, allocate memory
for an array of 15 integers and initialize each element to the value -1.
Then set up and call a function to store data from the user into the
arrays of 15 integers. For this assignment, prompt for 3 integers
at a time, with each of the 3 integers going into it's own array of 15
integers, at the next available index, for a total of 15 prompts. For
purposes of this assignment, and for help in debugging, print out the
contents of each array as a new number is added. All numbers to be
entered by the user are in the range 0 .. 9.



LinkBack URL
About LinkBacks



