The loan officer at the Belize National Bank wants you to write a C++ program that would help him decide whether to approve small loan application. The program should prompt the user for the customer’s yearly income, the number of years of the loan (loan period), the amount of the loan (the principal) and the customer status (1 for preferred, 0 for ordinary). To approve a loan, the customer must satisfy one of the following conditions. A) The principal divided by the period must be less than or equal to 1/12 of the customer’s income and B) if the customer is preferred customer (that is, the customer status is 1) the principal divided by the period need only be less than or equal to 1/10 of the customer’s income. The program should display an appropriate approval or disapproval message each customer it processes. When there are no more customers to process, the program should display the total number of approvals and disapprovals it processed.

I strongly suggest that you have a go at doing your own homework as per the community rules:
https://www.daniweb.com/community/rules

If you have trouble finding it, under the "Keep It Organized" section is this rule:
Do provide evidence of having done some work yourself if posting questions from school or work assignments.

Your post above displays no evidence that you have tried to do any of your homework. The community here will not do your homework for you, or spoon-feed you code. We will only help you when you get stuck with something specific.

Start writing your program. If you hit upon any problems that you cannot solve, post the code that you have so far and describe the problems/errors you are experiencing and someone here will help you!

Remember: The amount of effort that you put into your posts will determine the amount of effort that others will put in to help you!

Organize your program this way ...
input_data
process_data
output_results

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.