Question: 1 . Move the code to fill the array into its own function called FillHH. The function must take the array as a parameter and

1. Move the code to fill the array into its own function called FillHH. The function must take the array as a parameter and must not return a value. The function should fill the array like was done in main(.2. Move the code to print the array into its own function called PrintHH. The function must take the array as a parameter and must not return a value. The function should print the array like was done in main).3. main) will contain ONLY three statements.4. Change the hardcoded size of the array to use a define named ARRAYSIZE. You must add the define to the code. Remove the hardcoded value from the rest of the code.Changing the define should change the program's behavior.5. Formatting matters

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!