Login

Back

An algorithm for generating a list of numbers

When we are writing code, we often need some data available so we can test what we have written. We can type into our program a set of data to use manually or we could make a list of data and save it on a file and then use that, but we might have to type in thousands of pieces of data. And we might have to run the same test again but with a different set of data! Clearly, we don't want to be typing in lots of data if we can find a way to generate some automatically.

Please register to read more ......