Averages/Arithmetic mean: Difference between revisions
Content deleted Content added
added befunge; changed basic's works with tag to bypass redirect |
|||
Line 168:
=={{header|BASIC}}==
{{works with|
Assume the numbers are in a DIM named nums.
Line 183:
PRINT 0
END IF</lang>
=={{header|Befunge}}==
{{Incomplete|Befunge}}
This example can't deal with null inputs (i.e., blank input, or first input is 0 (zero)).
<lang befunge>0001>p&: #v_$::01g/.@
^10+1g10+<
Enter 0 (zero) to finish.</lang>
=={{header|Brainf***}}==
|