6. (15%) Complete the following function that writes an array of complex numbers, A[3], into a binary file, and
then reads all the contents back to another array B[3]. Please specify clearly what should be filled in to Blank1,
Statement-1, and Statement-2, respectively. The program will print out the following result after execution:
B[0]=1.0 + j1.0
B[1]=2.0 + j4.0
B[2]=3.0 + j9.0