totpjz+=xx[i] 和 totpjz/=totcnt 的意思{ int i,data; for(i=0;i0) totnum++; data=xx[i]>>1; if(data%2) {totcnt++; totpjz+=xx[i]; } } totpjz/=totcnt; } 既然说totpjz+=xx[i] 等于totpjz=totpjz+xx[i] ,那它求的的是什么?totpjz不是平均值
来源:学生作业帮助网 编辑:作业帮 时间:2024/07/19 06:01:00
![totpjz+=xx[i] 和 totpjz/=totcnt 的意思{ int i,data; for(i=0;i0) totnum++; data=xx[i]>>1; if(data%2) {totcnt++; totpjz+=xx[i]; } } totpjz/=totcnt; } 既然说totpjz+=xx[i] 等于totpjz=totpjz+xx[i] ,那它求的的是什么?totpjz不是平均值](/uploads/image/z/14292855-63-5.jpg?t=totpjz%2B%3Dxx%5Bi%5D+%E5%92%8C+totpjz%2F%3Dtotcnt+%E7%9A%84%E6%84%8F%E6%80%9D%7B+int+i%2Cdata%3B+for%28i%3D0%3Bi0%29+totnum%2B%2B%3B+data%3Dxx%5Bi%5D%3E%3E1%3B+if%28data%252%29+%7Btotcnt%2B%2B%3B+totpjz%2B%3Dxx%5Bi%5D%3B+%7D+%7D+totpjz%2F%3Dtotcnt%3B+%7D+%E6%97%A2%E7%84%B6%E8%AF%B4totpjz%2B%3Dxx%5Bi%5D+%E7%AD%89%E4%BA%8Etotpjz%3Dtotpjz%2Bxx%5Bi%5D+%2C%E9%82%A3%E5%AE%83%E6%B1%82%E7%9A%84%E7%9A%84%E6%98%AF%E4%BB%80%E4%B9%88%3Ftotpjz%E4%B8%8D%E6%98%AF%E5%B9%B3%E5%9D%87%E5%80%BC)
xJA_enEiA+
R
$1(HlE+Ϣw-:#Z7]t{q9fEON&mDWnDCV-K%7RHi!q*D5eOD,ǭeCDjÔM/Jq;V)4|L{+۷;&S