27.10.2018, 10:40
(
Последний раз редактировалось GTLS; 30.10.2018 в 16:23.
)
Why create a whole new variable when you just do as Y-Less said lol. fee is just a waste of variable. Just use your common sense, if you want to subtract 25%, there are many ways,
One that you're using
One that Y-Less said
other being,
EDIT:
you can also add,
List can go on.
One that you're using
One that Y-Less said
other being,
Код:
money = money - (money*25/100) //OR money = money - (money/4); //OR money = money*0.75;
you can also add,
Код:
money = money*3/4;