Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int j = 0; j < balls; j++)
- {
- direction = "";
- for (int i = 1; i < slots; i++)
- {
- choice[i] = rand() % 2;
- direction = direction + options[choice[i]];
- total = total + choice[i];
- }
- cout << direction << endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment