How do you make a currency system in a rpg like game. Like you buy you some food from your overall currency.
Food is 30
Your currency is 100
30-100 *Then displays your currency left* which will be 70
I used arrays need your help please.
You'll have to be more specific... Using arrays says absolutely nothing about your problem.
Currency is maybe the wrong term. Do you mean "money" or "balance"?
30 - 100 is -70, not 70 (its confusing)
I assume you are programming a console based text rpg?