Middle-square method: Difference between revisions

Content deleted Content added
Gazpacho (talk | contribs)
stubsort
Gazpacho (talk | contribs)
No edit summary
Line 9:
 
The following is a simple C++ program that generates the random numbers given an initial remainder we refer to as Zo= Xn in our case above.
 
 
#include<iostream.h>
Line 44 ⟶ 43:
 
[[Category:Pseudorandom number generators]]
{{compcompu-sci-stub}}