Hi,
Sorry I'm trying to work through some of the beginner problems which are posted here http://www.cplusplus.com/forum/articles/12974/
I'm doing the "Bracketing search" question and my 'code' is below...the trouble is I don't get a different random number each time...i.e. the answer is the same every time I run the program :(. I'm sure the solution is pretty simple but it's annoying me nonetheless.