Write a program in C++ to simulate a 1-dimension random walk along a circular tiled path. At each step, the walker randomly selects, with equal probability, to move to the left or right. The program displays the walker’s progress as it moves from tile to tile. The simulation ends as soon as the walker visits each tile at least once. The program displays the number of times the walker visited each tile. The program displays the number of times the walker moves.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here