I have gotten this far with my program (to make a working craps game with two randomly generated dies), but at the moment I am at a stand still because as soon as you open the program, it closes by itself. To fast for anyone to see what is going on. The program says that there are no errors, but if someone had some advice, I would greatly appreciate it!
edit: what is the point of lines 25 & 27? and what is the point of the different return statements on lines 31, 35 and 40? It's the presence of these that are making the program complete.