-->

Monday 3 March 2014

IN THIS PROJECT YOU CAN KEEP RECORD OF DAILY BANKING TRANSACTIONS.THIS PROGRAMME IS CAPABLE OF HOLDING ANY NO. OF ACCOUNTS.IN FIRST OPTION YOU CAN SEE ACCOUNT OF A PARTICULAR PERSON BY GIVING SIMPLY ACCOUNT NO. OF THAT PERSON.IN SECOND OPTION YOUN CAN SEE THE LIST OF ALL ACCOUNTS.THROUGH THIRD OPTION YOU CAN DO BANKING TRANSACTIONS ( DEPOSIT / WITHDRAW )IN FOURTH OPTION YOU CAN OPEN NEW ACCOUNT.NOTE: OPENING AMOUNT SHOULD NOT LESS THAN Rs.500/-.IN THE FIFTH OPTION YOU CAN MODIFY OR DELETE ANY ACCOUNT.AND LAST OPTION IS QUIT (EXIT TO DOS). //===========================================================// PROJECT ON AUTOMATION OF A BANK//======================================================= #include#include#include#include#include#include#include#include#include //===========================================================// THIS CLASS CONTAINS FUNCTIONS RELATED TO DRAW BOX ETC.//=========================================================== class shape {public:void line_hor(int, int, int, char);void line_ver(int, int, int, char);void box(int,int,int,int,char);}; //===========================================================// THIS CLASS CONTROL ALL THE FUNCTIONS IN THE MENU//=========================================================== class control {public:void main_menu(void);void help(void);private:void edit_menu(void);}; //===========================================================// THIS CLASS CONTAINS FUNCTIONS RELATED TO INITIAL DEPOSIT//=========================================================== class initial {public:void add_to_file(int,char t_name[30],char t_address[60],float);void display_list(void);void delete_account(int);void update_balance(int,float);void modify(void);int last_accno(void);int found_account(int);char*return_name(int);char*return_address(int);float give_balance(int);int recordno(int);void display(int);private:void modify_account(int,char t_name[30],char t_address[60]);void box_for_list(void); int accno;char name[30],address[60];float balance;}; //===========================================================// THIS CLASS CONTAINS FUNCTIONS RELATED TO TRANSACTIONS//=========================================================== class account {public:void new_account(void);void close_account(void);void display_account(void);void transaction(void);void clear(int,int);private:void add_to_file(int,int,int,int,char,char t_type[10],float,float,float);void delete_account(int);int no_of_days(int,int,int,int,int,int);float calculate_interest(int,float);void display(int);void box_for_display(int);int accno;char type[10];//Cheque or Cashint dd,mm,yy;//Datechar tran ;// Deposit or withdrawlfloat interest,amount,balance;}; //===========================================================// FUNCTION TO DRAW HORIZONTAL LINE//=========================================================== void shape::line_hor(int column1,int column2,int row,char c){for(column1;column1<=column2;column1++){ gotoxy(column1,row);cout<

No comments:

Post a Comment