Please, use the code tags when you post the code. Hit Edit, highlight your code and hit <> under the format on the right side.
The following are the things I saw at first glanced.
Use int main() and not void main().
You created two functions, but you are not calling them.
On your function void balance(), you should not return on void functions.
You need to declare and initialize the variables balance, amountPay, total inside the balance() function.
Below is a link on functions tutorial. http://www.cplusplus.com/doc/tutorial/functions/