阿摩線上測驗 登入

申論題資訊

試卷:110年 - 110-2 國立清華大學期末考試題_電機工程學系:計算機程式設計#112945
科目:程式設計
年份:110年
排序:0

申論題內容

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
63c0b7b7e49ac.jpg