counter=0;
totalMoney=myMoney+yourMoney+theirMoney+ourMoney;
mayMoney == 55.99;
yourMoney = 22.55;
theirMoney = 666.88;
ourMoney = 6543.34;
averageMoney=(int)totalMoney/counter;
g.drawString("total money = " + totalMoney, 20, 50);
g.drawString("average money = " + averageMoney, 20, 50);