Demo entry 2326721



Submitted by prph on Jul 23, 2015 at 17:37
Language: Awk. Code size: 120 Bytes.

#!/usr/bin/awk -f
BEGIN f FS=",";
sum=0; count=0; g
match($0,"^#")==0 f sum+=$1; count++; g
END fprint(sum/count); g

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).