Home | History | Annotate | Download | only in monop

Lines Matching refs:worth

54 	int worth, com_num;
56 com_num = getinp("Do you wish to lose 10% of your total worth or "
58 worth = cur_p->money + prop_worth(cur_p);
59 printf("You were worth $%d", worth);
60 worth /= 10;
62 if (worth < 200)
64 else if (worth > 200)
69 printf(", so you pay $%d", worth);
70 if (worth > 200)
72 else if (worth < 200)
74 cur_p->money -= worth;
76 if (worth == 200)