Hello Developers. !!
My code isn't working as the way i want, , ,
why the COUT statement is not executed. . .
Any Suggestions. ??
#include <iostream>
using namespace std;
int main ()
{
char isEmployer = 'E';
char hasLocation = 'L';
int hasAge = 0;
int hasSalary = 0;
cout << "enter details to get loan" << endl;
cout << "Employer?" << endl;
cin >> isEmployer;
cout << "Location?" << endl;
cin >> hasLocation;
cout << "Salary" << endl;
cin >> hasSalary;
if (isEmployer == 'E')
if (hasLocation=='L')
if(hasSalary > 50000)
cout << "You Are Allowed To Get The Loan" << endl;
else
cout << "Not Allowed To Get The Loan" << endl;
return 0;
}