|
@ -46,62 +46,64 @@ void showGeneralInfoEmployee(char id[length], char password[length]) |
|
|
|
|
|
|
|
|
if(checkUser(id, password) == 1) |
|
|
if(checkUser(id, password) == 1) |
|
|
{ |
|
|
{ |
|
|
printf(" Welcome Atharva\n"); |
|
|
|
|
|
printf(" Clearance: 3\n"); |
|
|
|
|
|
|
|
|
printf(" Welcome Atharva\n"); |
|
|
|
|
|
printf(" Clearance: 3\n"); |
|
|
printf("\n"); |
|
|
printf("\n"); |
|
|
printf("\n"); |
|
|
printf("\n"); |
|
|
printf(" ->Review new customer applications.\n"); |
|
|
|
|
|
|
|
|
printf(" ->Review new customer applications.\n"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if(checkUser(id, password) == 2) |
|
|
if(checkUser(id, password) == 2) |
|
|
{ |
|
|
{ |
|
|
printf(" Welcome Can\n"); |
|
|
|
|
|
printf(" Clearance: 3\n"); |
|
|
|
|
|
|
|
|
printf(" Welcome Can\n"); |
|
|
|
|
|
printf(" Clearance: 3\n"); |
|
|
printf("\n"); |
|
|
printf("\n"); |
|
|
printf("\n"); |
|
|
printf("\n"); |
|
|
printf(" ->Review new customer applications.\n"); |
|
|
|
|
|
|
|
|
printf(" ->Review new customer applications.\n"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if(checkUser(id, password) == 3) |
|
|
if(checkUser(id, password) == 3) |
|
|
{ |
|
|
{ |
|
|
printf(" Welcome Haytham\n"); |
|
|
|
|
|
printf(" Clearance: 2\n"); |
|
|
|
|
|
|
|
|
printf(" Welcome Haytham\n"); |
|
|
|
|
|
printf(" Clearance: 2\n"); |
|
|
printf("\n"); |
|
|
printf("\n"); |
|
|
printf("\n"); |
|
|
printf("\n"); |
|
|
printf(" ->Review new customer applications.\n"); |
|
|
|
|
|
printf(" ->Review loan applications.\n"); |
|
|
|
|
|
|
|
|
printf(" ->Review new customer applications.\n"); |
|
|
|
|
|
printf(" ->Review loan applications.\n"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if(checkUser(id, password) == 4) |
|
|
if(checkUser(id, password) == 4) |
|
|
{ |
|
|
{ |
|
|
printf(" Welcome Julius\n"); |
|
|
|
|
|
printf(" Clearance: 2\n"); |
|
|
|
|
|
|
|
|
printf(" Welcome Julius\n"); |
|
|
|
|
|
printf(" Clearance: 2\n"); |
|
|
printf("\n"); |
|
|
printf("\n"); |
|
|
printf("\n"); |
|
|
printf("\n"); |
|
|
printf(" ->Review new customer applications.\n"); |
|
|
|
|
|
printf(" ->Review loan applications.\n"); |
|
|
|
|
|
|
|
|
printf(" ->Review new customer applications.\n"); |
|
|
|
|
|
printf(" ->Review loan applications.\n"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if(checkUser(id, password) == 5) |
|
|
if(checkUser(id, password) == 5) |
|
|
{ |
|
|
{ |
|
|
printf(" Welcome Mohamed\n"); |
|
|
|
|
|
printf(" Clearance: 3\n"); |
|
|
|
|
|
|
|
|
printf(" Welcome Mohamed\n"); |
|
|
|
|
|
printf(" Clearance: 1\n"); |
|
|
printf("\n"); |
|
|
printf("\n"); |
|
|
printf("\n"); |
|
|
printf("\n"); |
|
|
printf(" ->Review new customer applications.\n"); |
|
|
|
|
|
printf(" ->Review loan applications.\n"); |
|
|
|
|
|
printf(" ->Terminate account.\n"); |
|
|
|
|
|
|
|
|
printf(" ->Review new customer applications.\n"); |
|
|
|
|
|
printf(" ->Review loan applications.\n"); |
|
|
|
|
|
printf(" ->Terminate account.\n"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if(checkUser(id, password) == 6) |
|
|
if(checkUser(id, password) == 6) |
|
|
{ |
|
|
{ |
|
|
printf(" Welcome Shivam\n"); |
|
|
|
|
|
printf(" Clearance: 3\n"); |
|
|
|
|
|
|
|
|
printf(" Welcome Shivam\n"); |
|
|
|
|
|
printf(" Clearance: 1\n"); |
|
|
printf("\n"); |
|
|
printf("\n"); |
|
|
printf("\n"); |
|
|
printf("\n"); |
|
|
printf(" ->Review new customer applications.\n"); |
|
|
|
|
|
printf(" ->Review loan applications.\n"); |
|
|
|
|
|
printf(" ->Terminate account.\n"); |
|
|
|
|
|
|
|
|
printf(" ->Review new customer applications.\n"); |
|
|
|
|
|
printf(" ->Review loan applications.\n"); |
|
|
|
|
|
printf(" ->Terminate account.\n"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|