Random number generation

<< Previous: String handling Next: Structured programming >>

Random number generation is a useful tool in a programmers arsenal. By generating and using random numbers a programmer can create a piece of code that will behave differntly each time.

When we are using pseudocode the first and last numbers we state are included in the possible random choices. In practical implementation this will vary by language.

<< Previous: String handling Next: Structured programming >>

© All materials created by and copyright S.Goff