Household Financial System
Abdallah Header Karakra 1125011 Abed Tahseen Othman 1125024 Ali Ahmad Aljadaa 1125048 Mahdi hamdan 1115338 Master of Computing, Birzeit University
COMP438, SP.TOP:BUSINESS PROCESS MODELLING Online Household Financial System: http://bzu.somee.com or click on title of paper
ABSTRACT
Managing the personal financial records is one of the most significant problems that face the people around the world. personal financial records are very important, since they can help everyone to mange his personal account. Also, they allow the person to analyze his financial records in detail to make him understand the current financial situation of his family, based on this situation he could anticipate the future situation during interval of time. Many softwares were built to manage this operation, but all of these softwares are a desktop application, and has lacking to some details such as loan and mortgage details. In this paper we review the literature for these softwares. then we present our proposed software which is called House Hold Financial System; which is designed as a web service, to make it easily integrated with any application regardless of the type of operating system, techniques or programing language. Keywords : Personal Finance, Household Financial System, Financial System , Web Service. 1
Introduction Personal financial is the financial management which an individual or a family unit is required to do to obtain budget, save, and spend monetary resources over time, taking into account various financial risks and future life events [1, 2], i.e, personal finance looks at how your money and future is managed. An efficient technique to managing personal financial records is the use of household financial system. Household financial system is a computer based application designed to easy to use and allow the person to analyse his family financial records [3], based on these records the person can make a decision how he conduct his money depends on his earnings resources and his expenditures. Also, the person can anticipate the future costs, schedule transaction to know what is important to do, and what is not. Household financial system does not like any system it could be used in the bank environment which is help the bank manager to make a decision with respect to loan. For example, if one wants to take a loan from the bank, the bank manager can use this financial system to decide if he wants to give him the loan or not. If the bank decides to give him the loan, then he decides the amount of the loan and the payment mechanism (schedules the way of payment).
There are multiple components making up the house hold financial system which it control the family financial records: it encompasses all aspects of finances. For example, it would include earning and expenses resources, where earning resources represents by all of the resources that help employee to make a money such as employee salary, overtime jobs, small business, commission, and bonus. Expenses resources represent the resources where the employee spent his money, such as automobile,bills,children,education, healthcare, hobbies, insurance..etc. In this paper, we will present these components in details. This Paper is organized as follows : Section 2; In this section we discuss two of the important personal financial softwares namely AceMoney and HomeBank. Section 3.1; in this section we present the important definitions and concepts of household financial system that are related to the remaining sections of this paper. We will present most of the variables used in financial system, and the relation between these variables through CLD. section 3.2; in this section we will discuss the measurements the bank used to give the loan to the person, in our study we will talk about Bank of Palestine measurements. In Section 4 we will present our simulation model and implementation software for household financial system. Finally, the conclusion given in the last section 5.
2
Background In this paper we present two softwares used to manage personal financial records namely AceMoney which is the top ranked software [4] and Homebank which is an open source software [3]. 2.1
AceMoney Is one of the most famous applications that help users in all stages of manage their budget. And give the user hint how to achieve goals of financial plan. In other words, it will give help in how to create a budget and manage investment accounts with all the features required to deal this issue [5]. ACeMoney is a adesktop application which is requerd for installtion, it can be to do : 1. Manage multiple accounts of different type: It comes with full ability to create and manage your most accounts such as checking, credit cards, savings, loans, debt and your custom accounts 2. Create and manage budgets: This functionality allow you to make traced and track to your account transactions and it will give you the difference between the actual and budgeted amounts. Even of all these advantages for ACeMoney, but still lacked from the ability to integrated with other softwares. in addition, it can’t help the bank as the expected way, since it is lack the loan details like scheduling the payment and mortgage details. it is just give us a high level view about the loan and the mortgage. 2.2
Homebank It is an open source personal accounting software, that analyze finance, it uses many tools for filtering and graphs. It works under different operating systems, like(Microsoft Windows, Linux, Free BSD, And others). HomeBank application can perform management to your money, so you can know where your money comes from, and how your spend is distributed. Also, it can perform analysis and give a clear picture about your account with some visualization and reports. It is dynamic and enables you to track and monitor the balance over time, and it has the ability to raise alerts in some cases.
3
Proposed Web Service: House Hold Financial System Household financial system is a web service application; can be integrated with any application regardless of the type of operating system, programing languages and technology. For example, any financial system such as that systems in banks may can use our financial system to make a decision about given a loan or no. also the
individual person can use this service to monitoring his spending, budgeting for an emergency fund, and paying down debt. In this section we will discuss the variables and components for our financial system, also we will discuss the business rules and business requirements for the same system. 3.1
System Variables and Components In this section we present the important variables used in the household financial system. there are seven stocks namely Budget, Credit Card Debt, Credit Total Monthly Payment, Mortgage Dept, Total Mortgage Payment, Saving Account ,Investment. In addition to these stocks we have eight flows as Incomes, Outcomes,Credit Added Dept, Credit Monthly Payment, Mortgage Additional Dept, Mortgage Monthly Payment, Saving Growth, Investment Change. The table below shows the relation between these stocks,flows and the other variables integrated with this dynamic model.
Stock
Flow
Variables and Variables dependency that Influence flow
Budget
Income
Salary (Basic Salary (Annual increase), Salary percent, Insurance, Salary tax, Family allowance (Number of Baby and Wife)).
Budget
OutCome
Expenses(Bills(Telephone,Mobile,Water, Electricity,Internet,Other) Rent, Transportation, Entertainment(Food,Gift occlusions) Children (Cost))
Mortgage Dept
Mortgage Additional Dept
Mortgage interest rate
Total Mortgage Payment
Mortgage Yearly Payemnet
monthly Mortgage Payment (Amount Borrowed, No of Payment) ..................................Mortgage interest rate
Saving Account
Yearly Saving Growth
Monthly Saving Growth (Saving interest rate) Credit Card Dept
Credit Added Dept
Monthely interest rate Credit Total Monthely Payment
Credit Monthely Payment
Main Monthely Payment, Additional Mothely Payment,Expensses
Below is the mathematical modeling for each variable:
1. Salary variable: Mathematical Model : Salary Model Salary=(BasicSalary×SalaryPercant)−(BasicSalary×SalaryTax+Insurance)+familyAllowance. where BasicSalary=netSalary×annualIncrease, initial netSalary=2000 $. and familyAllowance=babyAllowance×NomberOfBaby+waifeAllowance.
2. Yearly Saving Growth: Mathematical Model: Expenses Model Expenses = Bills+Rent+Entertainment+Transportation+Children . where Billes=Electricity+Internet+Mobile+Telephone+Water+Others. and Entetainment=Food+GiftsOccasions . 3. Mortgage variable: Mathematical Model: Mortgage Model By using PMT [6, 7] 4. Yearly Saving variable: Mathematical Model: Yearly Saving Model Yearly Saving= monthlySavingGrowth×12 5. Credit Added Dept variable: Mathematical Model: Credit Added Dept Model Credit Added Dept= creditCardDebt×monthlyIntreastRate 6. Credit Monthely Payment variable: Mathematical Model: Credit Monthely Payment Model Credit Monthely= MinMonthlyPayment+additionalMonthlyPayment The casual loop diagram for the above variables shown below, and this causal loop generating using vensim (The Ventana Simulation Environment)
Fig. 1: CLD Diagram
3.2
Banks Measurements In our study, we take the some of the business rules and business requirements of the Bank of Palestine to decide if the person can take a loan or not. based on this study we summarize the rules and requirements as below: 1. Rules Personal Information ..... Rule 1:Has a wife. ..... Rule 2:Has at most two or three children. ..... Rule 3:Has no criminal actions. ..... Rule 4:Has a home (not rent). ..... Rule 5:Age less than 60. Employment Information ..... Rule 1:Experience Years should be at least 3 years. ..... Rule 2:The salary should be more than 1200$ . ..... Rule 3: Has other resources (May part time job, small business,..etc). ..... Rule 4:Has an account at the same bank. 2. Requirements Below is possible business requirements to enforce these rules (a) (b) (c) (d) (e)
Employee to check formal papers such as :the married contract, children Birth Certificates. System to check if the Employee has criminal action. Database contains the employee information. Committee to study the employee status if not apply the bank rules. system to check the employee age if is less than 60
Note The person satisfy the above rules he will take more credit to help him to get the loan. Actually when the bank wants to give a personal loan the bank study the above rules , but not satisfies any of the rules above does not mean the bank will reject, or refuse to give the loan to person, since there are different cases the bank may studies and based on these cases the bank may give the loan to the person.
4 Simulation and Implementation 4.1 Simulation In this section we presents the Stock and Flow diagram , this diagram created using Ithink Software.
Fig. 2: Simulation Model- Stock and Flow
The below Figures represent snapshots for one component from our house hold financial system dynamic modeling,
Fig. 3: Simulation Model- Stock and Flow
Fig. 4: Simulation Model- Running table
Fig. 5: Simulation Model-Graph
4.2 1. 2. 3. 4.
Implementation We fellow the below styps to build our house hold financial system: Build the Causal Loop Diagram (CLD) Develop Stock and Flow Diagram Create Model Equations Simulation
Our house financial system created using Visual Studio 2010, using VB.net. It is created as web service to serve any one any where any time without depending on platform,tools or technology. The below figures represents snapshot to our financial home service.
Fig. 6: Start Page
Fig. 7: Calculating loans
for more detail about the house hold financial system (click here)
5
Conclusion Managing the home financial records is one of the most important problems face the people around the world, so we build household financial system to solve the problem, the system work as a web service that designed in a way to allow the person analyze his financial records in detail to make him understand the current financial situation of the family. Also, it helps the manager of the bank to make a decision with respect of loans. In Addition, the house hold financial system has advantages over the other similar family financial softwares ;since it is independent of platform, tools, or technology and can run by Anyone, anywhere, any device and anytime.
6
Acknowledgments We would like to thank Dr. Derar Eleyan and Dr. Amna Eleyan for their encouragement during the course. they was very patient and always provided their excellent guidance in helping us to complete this literature review. Also , we would like to thank them for the time they spent sharing their vast wealth of knowledge with us.
References [1] investopedia, 2014. Definition of personal finance. http://www.investopedia.com/terms/p/ personalfinance.asp#axzz1rNwPldro, september. Accessed september 1, 2014. [2] Wikipedia, 2012. Personal finance. http://en.wikipedia.org/wiki/Personal_finance, April. Accessed september 1, 2014. [3] HomeBank. Homebank software. http://homebank.free.fr/. Accessed september 1, 2014. [4] personal finance software, 2014. Personal finance software review. http:// personal-finance-software-review.toptenreviews.com/. Accessed august 28, 2014. [5] AceMoney, 2014. Acemoney software. http://www.mechcad.net/products/acemoney/ personal-finance-software-quicken-alternative.shtml, February. Accessed september 1, 2014. [6] wikihow. Mortgage-payment. http://www.wikihow.com/Sample/Mortgage-Payment. Accessed september 1, 2014. [7] wikipedia. Mortgagel oan. . Accessed september 1, 2014.
7
Appendix
Imports Imports Imports Imports Imports
System . Web . S e r v i c e s System . Web . S e r v i c e s . P r o t o c o l s System . ComponentModel System . Runtime . S e r i a l i z a t i o n . F o r m a t t e r s . B i n a r y System . IO
’ To a l l o w t h i s Web S e r v i c e t o be c a l l e d from s c r i p t , u s i n g ASP . NET AJAX , uncomment t h e f o l l o w i n g l i n e . ’ Public Class Service1 I n h e r i t s System . Web . S e r v i c e s . W e b S e r v i c e # Region ” V a r i a b l e s ” P u b l i c F u n c t i o n s e t V a r i a b l e s ( ByVal T h e P e r i o d As I n t e g e r , ByVal M a i n S a l a r y As Double ,
ByVal ByVal ByVal ByVal ByVal ByVal
ByVal A n u a l A l l o w n c e As Double , ByVal N o O f C h i l d e r e n As I n t e g e r , ByVal f a l m i l y A l l o w a n c e As I n t e g e r , ByVal TaxValue As Double , I n s u r a n c e A m o u n t As I n t e g e r , d e p r e c i a t i o n As Double , ByVal r e n t As Double , m o b i l e B i l l e s As Double , ByVal w a t e r B i l l e s As Double , e l e c t r i c i t y B i l l e s As Double , i n t e r n e t B i l l e s As Double , t e l e p h o n e B i l l e s As Double , ByVal f o o d As Double , ByVal t r a n s p o r t a t i o n As Double , ByVal e n t e r t a r m e n a t As Double , ByVal o t h e r E x p e n s e s As Double , ByVal o t h e r i n c o m e As Double )
A p p l i c a t i o n . Add ( ” T h e P e r i o d ” , T h e P e r i o d ) A p p l i c a t i o n . Add ( ” M a i n S a l a r y ” , M a i n S a l a r y ) A p p l i c a t i o n . Add ( ” a n u a l A l l o w n c e ” , A n u a l A l l o w n c e ) A p p l i c a t i o n . Add ( ” N o O f C h i l d e r e n ” , N o O f C h i l d e r e n ) A p p l i c a t i o n . Add ( ” f a l m i l y A l l o w a n c e ” , f a l m i l y A l l o w a n c e ) A p p l i c a t i o n . Add ( ” t a x V a l u e ” , TaxValue ) A p p l i c a t i o n . Add ( ” i n s u r a n c e A m o u n t ” , I n s u r a n c e A m o u n t ) A p p l i c a t i o n . Add ( ” d e p r e c i a t i o n ” , d e p r e c i a t i o n ) A p p l i c a t i o n . Add ( ” r e n t ” , r e n t ) A p p l i c a t i o n . Add ( ” m o b i l e B i l l e s ” , m o b i l e B i l l e s ) A p p l i c a t i o n . Add ( ” w a t e r B i l l e s ” , w a t e r B i l l e s ) A p p l i c a t i o n . Add ( ” e l e c t r i c i t y B i l l e s ” , e l e c t r i c i t y B i l l e s ) A p p l i c a t i o n . Add ( ” i n t e r n e t B i l l e s ” , i n t e r n e t B i l l e s ) A p p l i c a t i o n . Add ( ” t e l e p h o n e B i l l e s ” , t e l e p h o n e B i l l e s ) A p p l i c a t i o n . Add ( ” f o o d ” , f o o d ) A p p l i c a t i o n . Add ( ” t r a n s p o r t a t i o n ” , t r a n s p o r t a t i o n ) A p p l i c a t i o n . Add ( ” e n t e r t a r m e n a t ” , e n t e r t a r m e n a t ) Application (” otherincome ” , otherincome ) Application (” otherExpenses ” , otherExpenses ) End F u n c t i o n #End R e g i o n
# R e g i o n ” C a l c u l a t i o n Income ” F u n c t i o n G e t A n u a l A l l o w n c e ( ByVal p e r i o d As I n t e g e r ) As Double Return ( period ∗ Application (” anualAllownce ” ) ) − ( period ∗ Application (” depreciation ”)) End F u n c t i o n F u n c t i o n G e t M a i n S a l a r y ( ByVal s a l a r y As Double , ByVal p e r i o d As Double , ByVal o t h e r i n c o m e As Double ) As Double Dim m y S a l a r y As Double = 0
mySalary = s a l a r y + GetAnualAllownce ( p e r i o d ) ∗ s a l a r y + otherincome Return mySalary End F u n c t i o n F u n c t i o n C a l c I n c o m e ( ByVal s a l a r y As Double , ByVal y e a r n o As I n t e g e r , ByVal o t h e r i n c o m e As Double ) As Double Dim sum As Double = 0 sum = G e t M a i n S a l a r y ( s a l a r y , y e a r n o , o t h e r i n c o m e ) ∗ 12 + c a l F a m i l y A l l o w n c e ( y e a r n o ) − ExpensesOnSalery ( yearno , otherincome ) R e t u r n sum End F u n c t i o n F u n c t i o n E x p e n s e s O n S a l e r y ( ByVal y e a r n o As I n t e g e r , ByVal o t h e r i n c o m e As Double ) As Double Dim E x p e n s e s O n S a l e r y As Double = 0 ExpensesOnSalery = GetMainSalary ( A p p l i c a t i o n (” MainSalary ”) , yearno , otherincome ) ∗ Application (” taxValue ”) + A p p l i c a t i o n (” insuranceAmount ”) R e t u r n E x p e n s e s O n S a l e r y ∗ 12 End F u n c t i o n F u n c t i o n c a l F a m i l y A l l o w n c e ( ByVal p e r i o d As I n t e g e r ) As Double Dim F a m i l y A l l o w n c e As Double = 0 S e l e c t Case p e r i o d Case 0 To 5 FamilyAllownce = 0 Case 5 To 6 F a m i l y A l l o w n c e = 25 Case 6 To 10 F a m i l y A l l o w n c e = 35 Case 10 To 22 F a m i l y A l l o w n c e = 55 Case 22 To 26 F a m i l y A l l o w n c e = 35 Case 26 − 100 F a m i l y A l l o w n c e = 25 End S e l e c t Return FamilyAllownce End F u n c t i o n #End R e g i o n
# Region ” C a l c u l a t i o n Expenss ” F u n c t i o n c a l c B i l l e s ( ) As Double Dim b i l l e s As Double = 0 b i l l e s = Application (” mobileBilles ”) + Application (” waterBilles ”) + Application (” e l e c t r i c i t y B i l l e s ”) + Application (” telephoneBilles ”) + Application (” i n t e r n e t B i l l e s ”) Return b i l l e s End F u n c t i o n F u n c t i o n c a l c E x p n s e s ( ByVal p e r i o d As Double ) As Double Dim A l l E x p e n s e s As Double = 0 AllExpenses = c a l c B i l l e s ( ) + A p p l i c a t i o n (” food ”) + A p p l i c a t i o n (” e n t e r t a r m e n a t ”) + Application (” t r a n s p o r t a t i o n ”) + Application (” r e n t ”) + calBabyExpenses ( period ) Return AllExpenses End F u n c t i o n F u n c t i o n c a l B a b y E x p e n s e s ( ByVal p e r i o d As I n t e g e r ) As Double Dim B a b y E x p e n s e s As Double = 0 S e l e c t Case p e r i o d Case 0 To 6 BabyExpenses = 0 Case 6 To 10 B a b y E x p e n s e s = 200 Case 10 To 14 B a b y E x p e n s e s = 500 Case 14 To 18 B a b y E x p e n s e s = 600 Case 18 To 22 B a b y E x p e n s e s = 1000 Case 22 To 26 B a b y E x p e n s e s = 1000 End S e l e c t Return BabyExpenses End F u n c t i o n #End R e g i o n P r i v a t e F u n c t i o n sumSaving ( ByVal p e r i o d As Double ) As Double Dim sum As Double = 0
sum = C a l c I n c o m e ( A p p l i c a t i o n ( ” M a i n S a l a r y ” ) , p e r i o d , A p p l i c a t i o n ( ” o t h e r i n c o m e ” ) ) / 12 − c a l c E x p n s e s ( p e r i o d ) I f p e r i o d = 1 Then Return CalcIncome ( A p p l i c a t i o n ( ” MainSalary ” ) , period , A p p l i c a t i o n ( ” o t h e r i n c o m e ” ) ) / 12 − c a l c E x p n s e s ( p e r i o d ) Else Return CalcIncome ( A p p l i c a t i o n ( ” MainSalary ” ) , period , A p p l i c a t i o n ( ” o t h e r i n c o m e ” ) ) / 12 − c a l c E x p n s e s ( p e r i o d ) + sum End I f End F u n c t i o n P u b l i c F u n c t i o n r e t u r n S a l a r y D a t a ( ) As D a t a T a b l e Dim S a l a r y D T As D a t a T a b l e = New D a t a T a b l e ( ” S a l a r y ” ) S a l a r y D T . Columns . Add ( ” Year ” , Type . GetType ( ” System . Double ” ) ) S a l a r y D T . Columns . Add ( ” S a l a r y ” , Type . GetType ( ” System . Double ” ) ) S a l a r y D T . Columns . Add ( ” y e a r l y S a l a r y ” , Type . GetType ( ” System . Double ” ) ) S a l a r y D T . Columns . Add ( ” E x p n s e s ” , Type . GetType ( ” System . Double ” ) ) S a l a r y D T . Columns . Add ( ” S a v i n g ” , Type . GetType ( ” System . Double ” ) ) S a l a r y D T . Columns . Add ( ” SumSaving ” , Type . GetType ( ” System . Double ” ) ) S a l a r y D T . Columns . Add ( ” Max−Loan−payment ” , Type . GetType ( ” System . Double ” ) ) F o r i As I n t e g e r = 1 To A p p l i c a t i o n ( ” T h e P e r i o d ” ) S a l a r y D T . Rows . Add ( i , Math . Round ( G e t M a i n S a l a r y ( A p p l i c a t i o n ( ” M a i n S a l a r y ” ) , i , Application (” otherincome ” ) ) , 2) , Math . Round ( C a l c I n c o m e ( A p p l i c a t i o n ( ” M a i n S a l a r y ” ) , i , Application (” otherincome ” ) ) , 2) , Math . Round ( c a l c E x p n s e s ( i ) ∗ 1 2 ) , Math . Round ( C a l c I n c o m e ( A p p l i c a t i o n ( ” M a i n S a l a r y ” ) , i , Application (” otherincome ” )) / 12 − c a l c E x p n s e s ( i ) ) , Math . Round ( sumSaving ( i ) , 2 ) , Math . Round ( C a l c I n c o m e ( A p p l i c a t i o n ( ” M a i n S a l a r y ” ) , i , Application (” otherincome ” )) / 12 ∗ 0 . 4 , 2 ) ) Next Return SalaryDT End F u n c t i o n # R e g i o n ” C a l c Loans ”
P u b l i c F u n c t i o n C a l c L o a n ( ByVal amount As Double , ByVal I n t e r e s t 0 As Double , ByVal P e r i o d As Double ) As D a t a T a b l e Dim LoanDT As D a t a T a b l e = New D a t a T a b l e ( ” Loan ” ) LoanDT . Columns . Add ( ” month ” , Type . GetType ( ” System . Double ” ) ) LoanDT . Columns . Add ( ” payment amount ” , Type . GetType ( ” System . Double ” ) ) LoanDT . Columns . Add ( ” B a s i c Amount ” , Type . GetType ( ” System . Double ” ) ) LoanDT . Columns . Add ( ” I n t e r s e t amont ” , Type . GetType ( ” System . Double ” ) ) LoanDT . Columns . Add ( ” B a l a n c e ” , Type . GetType ( ” System . Double ” ) ) Dim LoanAmount , i n t e r s t , Payment , Months , t o t a l p a y m e n t As Double LoanAmount = amount interst = Interest 0 i n t e r s t > 1 Then i n t e r s t = If Months = P e r i o d ∗ 12
i n t e r s t / 100 ’ E n s u r e p r o p e r form .
Payment = Pmt ( i n t e r s t / 1 2 , Months , −LoanAmount ) F o r i As I n t e g e r = 1 To Months Dim my payment As Double = Payment − IPmt ( i n t e r s t / 1 2 , i , Months , −LoanAmount ) t o t a l p a y m e n t += my payment Dim m y i n t e r s t As Double = IPmt ( i n t e r s t / 1 2 , i , Months , −LoanAmount ) LoanDT . Rows . Add ( i , Math . Round ( Payment , 2 ) , Math . Round ( my payment , 2 ) , Math . Round ( m y i n t e r s t , 2 ) , Math . Round ( LoanAmount − total payment , 2)) Next R e t u r n LoanDT End F u n c t i o n F u n c t i o n c a n G e t L o a n ( ByVal LoanAmount As Double , ByVal income As Double , ByVal P e r i o d As Double , ByVal i n t e r s e t As Double , ByVal T o t a l e x p e n s e s As Double , ByVal Age As I n t e g e r , ByVal i s c r i m i n a l As Boolean , ByVal h a s s p o n s e r As Boolean , ByVal a s s e t e s As Double ) As S t r i n g Dim c a n g e t As B o o l e a n = F a l s e Dim payment As Double = 0 I f i n t e r s e t > 1 Then i n t e r s e t = i n t e r s e t / 100 ’ E n s u r e p r o p e r form . Dim Months As I n t e g e r = P e r i o d ∗ 12 payment = Pmt ( i n t e r s e t / 1 2 , Months , −LoanAmount ) Dim m e s s a g e As S t r i n g = ” you c a n g e t l o a n , p l e a s e u s e o u r l o a n c a l c u l a t o r
loan c a l c u l a t o r
”
I f i s c r i m i n a l Then m e s s a g e = ” you c a n t g e t l o a n , you h a v e c r i m i n a l f i l e you c a n t g e t l a o n ” End I f I f Age + Months / 12 > 60 Then m e s s a g e = ” you c a n t g e t l o a n , y o u r a g e w i t h l o a n p e r i o d i s more t h a n 60” End I f I f payment > income ∗ 0 . 4 And Age + Months / 12 < 60 Then m e s s a g e = ” you c a n t g e t l o a n , y o u r income c a n t c o v e r y o u r month payment ” E l s e I f payment > income ∗ 0 . 6 And Age + Months / 12 < \ 60 And h a s s p o n s e r Then m e s s a g e = ” you c a n t g e t l o a n , y o u r income c a n t c o v e r y o u r month payment and you dont have s p o n s e r ” E l s e I f payment > ( income + a s s e t e s ) ∗ 0 . 4 And Age + Months / 12 < 60 Then m e s s a g e = ” you c a n t g e t l o a n , y o u r income c a n t c o v e r y o u r month payment with your a s s e s t s ” End I f Return message End F u n c t i o n
#End R e g i o n End C l a s s