simulate a pair of dice.

Simulation.ctxt 518B

123456789101112131415
  1. #BlueJ class context
  2. comment0.target=Simulation
  3. comment0.text=\n\ Write\ a\ description\ of\ class\ Simulation\ here.\n\n\ @author\ (your\ name)\n\ @version\ (a\ version\ number\ or\ a\ date)\n
  4. comment1.params=args
  5. comment1.target=void\ main(java.lang.String[])
  6. comment2.params=numOfDice\ numOfThrows
  7. comment2.target=Simulation(int,\ int)
  8. comment3.params=binStore
  9. comment3.target=int\ getTotal(Bins)
  10. comment4.params=
  11. comment4.target=Bins\ runSim()
  12. comment5.params=inBin
  13. comment5.target=void\ print(Bins)
  14. numComments=6