myList =newdouble[size];myList[0] =5.6;myList[1] =4.5;myList[2] =3.3;myList[3] =13.2;myList[4] =4.0;myList[5] =34.33;myList[6] =34.0;myList[7] =45.45;myList[8] =99.993;myList[9] =11123;// 计算所有元素的总和doubletotal =0;for(inti =0;i