試卷名稱:114年 - 第九章 陣列與結構:歷屆試題#129302
年份:114年
科目:泉勝◆程式設計實習
8. int main(){ float dataB[4]={2.2,2.8,-2.4,-1.8}; int j,result=0; for (j=0;j<4;j++){ result=result+round(dataB[j]);//round()is 四捨五入 } printf("%d",result); return 0;}(技藝競賽)(A)-1(B)0 (C)1 (D)2