[ad_1]
You can do:
diceroll1() + diceroll2()
since the compiler sees it as value that diceroll1() returns + value of diceroll2();
0
[ad_2]
solved How can I use the output of a rand function, simulating 2 die rolls?
[ad_1]
You can do:
diceroll1() + diceroll2()
since the compiler sees it as value that diceroll1() returns + value of diceroll2();
0
[ad_2]
solved How can I use the output of a rand function, simulating 2 die rolls?