//Chap4, pg 146, Terrance Coleman
//prb04-5.cpp
// This program helps a bank's vice-president to approve or disapprove loans.
// The program should prompt the user for the annual income of the applicant
// the amount of the loan, and the number of years of the loan. The program
// should display an approval or rejection message.
#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
int Display_Approval;
double Annual_Income;
double Loan_Amt;
int Loan_Years;
cout << setprecision(2)
<< setiosflags(ios::fixed)
<< setiosflags(ios::showpoint);
do
{
cout << "Display_Approval << approved << endl;
if ( ("Loan_Amt < 5,000") && ("Annual_Income <= 30,000") )
if ( ("Loan_Amt >= 5,000) || < 20,000") && ("Annual_Income <= 75,000") );
cout << endl << endl;
cout << "Display_Approval << disapproved << endl;
return 0;
}