I decided to write as my first C program a slot-machine. However, I have ran into some difficulties.
scanf("%d", decision);
if (decision == 1)
It seems that whenever this part is used, the whole program crashes. Why?
EDIT: Answered. I had forgotten to include an ampersand before the "decision". Thanks everyone!