public void SetValues(double amountAvailable) { Essential.Credit(amountAvailable * 0.55); Education.Credit(amountAvailable * 0.05); Investiment.Credit(amountAvailable * 0.3); Other.Credit(amountAvailable * 0.1); }