Moving Average by nu

float*a=&a,atof();main(d,p){for(;gets(p);d+=d<5)printf("%s Average:%5.1f\n",p,((a[6]=a[5]+atof(p+7))-*++a)/d);}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page