ffm5113 / cpp_baseball_bat_stats_simulator Goto Github PK
View Code? Open in Web Editor NEWThe Baseball Batting Stats Simulator Program (C++) uses the rand function to create a statistical model, which is used to simulate 1000 at-bats based on a player's careers averages. After the simulation values are calculated and displayed, a loop asks the user if they would like to run another simulation.
License: MIT License