Create a 5 x 5 array as shown below. Then, write the following subprograms:
printArray (prints out the array)
flipHorizontal (flips the contents horizontally, then calls printArray)
flipVertical (flips the contents vertically, then calls printArray)
Then, have the subprograms run sequentially in a main program for grading.
Note: you should not modify the array in place; you should instead create a new array each time it's flipped.
Dear Zach, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Comments
Leave a comment