A Stopwatch for Searching
To test different methods (algorithms) we want to make a StopWatch to time how long it takes to do a search.
We also want to generate a bunch of things to search. We can start with integers.
Numbers
that has generates n random integers from 0 to max. It should have toString method that has ten numbers separated by a space, and then adds a \n to start a new line. It should have a constructor, and accessor methods.Search
that has a stopwatch and creates a Numbers
objects to reach, and have a loop that prompts for a number to search and reports if it was found and how long it took to find it.