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