- #1
needhelp83
- 199
- 0
Alright I have a problem where I have no idea how to do it. It uses ARM Project Manager to perform the program.
Here it is:
A sequentially numbered array of 54 integers has to be defined. The array should be initialized with some values in a loop, incorporated in a separate subroutine. Next subroutine replaces (swaps) the first 16 integers with the last 16 integers. The main program should call these subroutines: first to initialize the array, second to swap the array. Print on the output window the initial array and the result array.
Any help from anybody?
I have no solution or anything. Again, I have no idea. The biggest issue I am concerned with is putting 54 integers into an array. How is this done?
Here it is:
A sequentially numbered array of 54 integers has to be defined. The array should be initialized with some values in a loop, incorporated in a separate subroutine. Next subroutine replaces (swaps) the first 16 integers with the last 16 integers. The main program should call these subroutines: first to initialize the array, second to swap the array. Print on the output window the initial array and the result array.
Any help from anybody?
I have no solution or anything. Again, I have no idea. The biggest issue I am concerned with is putting 54 integers into an array. How is this done?