Jump to content

Average loop length: Difference between revisions

m
(added RPL)
Line 2,579:
</pre>
 
=={{header|RubyRPL}}==
This task is an opportunity to showcase several useful instructions - <code>CON, SEQ</code> and <code>∑</code> - which avoid to use a <code>FOR..NEXT</code> loop, to create a constant array, to generate a list of random numbers and to calculate a finite sum.
{{works with|HP|48G}}
1,151

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.