So Ive been trying to add a count of how many times heads and tales have been flipped. I'm sure its probably simple but Ive been at this for about 10 hours. Any help would really be appreciated.
Because once the Button1_Click event has finished, every value inside of there will cease to exist.
Therefore you store your counting variables elsewhere, so you can reference them inside of Button1_Click and increase their values without losing them when it's finished.
1
u/C4_Ghost Oct 23 '19
So Ive been trying to add a count of how many times heads and tales have been flipped. I'm sure its probably simple but Ive been at this for about 10 hours. Any help would really be appreciated.