计算平均值
Financial Management
http://www.nowcoder.com/questionTerminal/c046a2eade034db58cdfdaf58f894489
#include <stdio.h> int main() { double a[12],sum=0; for(int i=0;i<12;i++) { scanf("%lf",&a[i]); sum+=a[i]; } printf("$%.2lf\n",sum/12); return 0; }C语言实现(•̀ᴗ•́)و