Assume for the Project, that you were provided with a custom function called StoreBinaryToArray(input). The StoreBinaryToArray function takes the binary input from the user and stores each digit (0 or 1) into a one-dimensional array called BinaryArray. For example, if the user inputs 10101010, the BinaryArray will look like:
BinaryArray
Element Number
1
2
3
4
5
6
7
8
Value Stored
1
0
1
0
1
0
1
0
Use the StoreBinaryToArray function to complete the Project.