Jump to content

Averages/Arithmetic mean: Difference between revisions

m
→‎{{header|AutoHotkey}}: Minor indentation and casing edit
m (→‎{{header|AutoHotkey}}: Minor indentation and casing edit)
Line 75:
=={{header|AutoHotkey}}==
<lang autohotkey>i = 10
Loop, % i {
Random, v, -3.141592, 3.141592
list .= v "`n"
sum += v
}
MsgBox, % i ? list "`nmean: " sum/i:0</lang>
 
=={{header|AWK}}==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.