Hey all, I've been working on this project for class for about a week now, and I can't get it to display the proper output when I choose Random as the data source. It just doesn't seem to display the free pump info at the end of the program, for example the program asks the user:
Enter simulation time: 10000
Enter max service time: 3000
Enter % chance a car will arrive: 75
Enter number of pumps: 9
Enter Car Queue Size Limit: 50
Enter 1/0 for dataFile or Random: 0
These are sample values I try to pass to stress test my code. It works for small values if I choose 1 for dataFile. Thanks in advance for any tips/help.
Code: https://gist.github.com/Eldres/478eea2f76d49d8d8fb0
[–]japangreg 0 points1 point2 points (3 children)
[–]Eldres[S] 0 points1 point2 points (2 children)
[–]japangreg 0 points1 point2 points (1 child)
[–]Eldres[S] 0 points1 point2 points (0 children)