#include #include #include #define size 5 typedef struct N { char - TopicsExpress



          

#include #include #include #define size 5 typedef struct N { char fname[25]; char lname[25]; char mi[5]; }Name; typedef struct D { char Month[25]; int day, year; }Date; typedef struct E { char empID[5]; /*Refers to the employees unique identification number*/ char empPword[25]; /*Refers to the employees unique account password*/ Name empName; /*Refers to the full name of the employee */ Date empBDate; /*Refers to the birthday of the employee*/ char add[50]; /*Refers to the address of the employee*/ char status[2]; /*Refers to the status of the employee(IN Inactive, AC Active)*/ }Employee; typedef struct C { char clientID[5]; /*Refers to the clients unique identification number*/ char clientPin[6]; /*Refers to the identification pin number of the client*/ Name clientName; /*Refers to the full name of the clients*/ Date clientBDate; /*Refers to the Birthday of the clients*/ char add[50]; /*Refers to the address of the clients*/ Date clientAcctop; /*Refers to the date that the client opened an account*/ float balance; /*Refers to the available balance of the employee*/ char status[2]; /*Refers to the status of the client(IN Inactive, AC Active)*/ }client; void addEmp(Employee * Echavez, int x);void dispEmp(Employee * Echavez, int x);void manEmp(Employee * Echavez, int x);void addCli(client * Echavez, int x);void dispCli(client * Echavez, int x)int main (void){ char choice; int x=0; Employee Echavez[50]; do { system(cls); printf(\n\n\t\t\t[1] Add employee\n\n\n); printf(\t\t\t[2] Update employee\n\n\n); printf(\t\t\t[3] Display all employee\n\n\n); printf(\t\t\t[4] Manage Accounts\n\n\n); printf(\t\t\t[5] Exit program\n\n\n); printf(\t\t\tselect: ); scanf(%c, &choice); system(cls); switch (choice) { case 1: if(x
Posted on: Wed, 26 Mar 2014 14:08:04 +0000

Trending Topics



Recently Viewed Topics




© 2015