Program solution in c programming language. Code must include functions (ex. Data, Evaluate, Report), pointers, while, do while loop and counter (eligibility, ineligibility & decisions)
Program solution in c programming language.
Code must include functions (ex. Data, Evaluate, Report), pointers, while, do while loop and counter (eligibility, ineligibility & decisions)
Develop a solution to the following problem:
A financial institution will only accept loan applications if the following conditions are met:
-The applicant must own his/her home with no mortgage payment and
-The applicant must have a total annual household income of no less than $45000.00.
-The applicant must have a credit score of no less than 650.
Your program should implement a decision-making process and display a report containing:
-a message stating if application will be considered or not
-if applicant owns his/her home or not and if he/she owns it is there a mortgage on the house or not.
-the total annual household income.
-and the credit score.
Consider the following requirements for your coding:
-allow user to quit early: user should be prompted to continue with the program or quit before attempting anything.
-code a separate function for you input, decision making, and output.
-You must use one and only one function for all your input (house ownership, income, credit score).
-program must repeat for different applicants until user decides to quit (accept 1 for yes and 0 for no and validate)
-After running the program for different applicants, code an additional function that would display how many applications will be considered and how many will not: you must implement a process of counting the different decisions.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started