114
Banking On ATM Card F M N College, Kollam – IDE Study Centre Page 1 1. INTRODUCTION

14127080 Banking on ATM Card Using C Language

Embed Size (px)

Citation preview

Page 1: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 1 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 1. INTRODUCTION 

 

 

 

 

 

 

 

 

 

Page 2: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 2 

 

 

1. INTRODUCTION

            Database      is    a    collection   of      information    that    is   used    for    several purposes   and   Database   Management   system  is  an   application    Software, that   has  some   specific   programs   to   access    the   data’s   in   the  database. Data bases   help   the   users  to  create    a  large   amount   of    information’s   and stored   it  in  a  file  system or in  a  memory  chip,  In  normal   cases  clerks have  a  lot  of  works  to  record,  search, edit and the  details   of   a  Accounting   at the Bank, it   wastes   a  lot  of   times   and   their  may  be  errors  in  the   data ,  Here   we   introduce   the   " Banking On ATM Card ". By  using  this  software we     can   overcome  all  most all  such  problems  like  data  redundancy,  inconsistency. And it also helps to implement standards  

          Here we use Floppy disk or Memory Card in the case of ATM card for available Banking transactions. They are used to store customer bank details. Here these projects we are use three Data Base files. One is used to store   bank details such as bank password, fixed amount , interest rate  . Yet another is used  to store  all  customer details  such  as  customer  name  ,  age  ,  sex  ,  password  ,  passport  number  and  deposited amount . Another one is ATM card support file it is used to store account number it is used to automatic reading the account number. 

 

 

 

 

 

 

 

 

 

Page 3: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 3 

 

 

1.1 ABSTRACT

 

                 The Computerization of “Banking On ATM Card” is the main objective   of   the project.  By  using  this  software  package  the   time   consumption   and  work   burden will be  reduced  immensely  . 

 

                 The  software  entitled  as  ‘Banking On ATM Card’ is used  for storing           details  of the  Accounting    in  the   Bank database .  It is interactive and    user – friendly  software  developed  using   C language.  The  project  is  prepared  to implement   in    DOS/ Windows / 2000 / NT platforms.   

 

                  The  project  helps  to  store and  maintain  all details  of  the  Account details    in  the  database  of   the  customer   and  reduce   data   redundancy ,  inconsistency,  and     it  also  helps    to  implement  standards .  The project is divided into five modules. 

 

          1. Account  

2. Display  

                    3. Settings  

                    4. Transaction  

                    5. Exit 

 

 

 

Page 4: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 4 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2. SYSTEM STUDY 

 

 

 

 

 

 

Page 5: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 5 

 

 

 

                 

SYSTEM STUDY  

                   The   system   study   is   indented   with   the   study     of   the   existing     system, that  is  about  the   current   Data base   system,   the   working    of   the  system , the concerned modules,   and    requirements   etc  .    It   also   deals   with    the     benefits and  disadvantages   of  the  system .   We  must   thoroughly   understand     the  old  system   and  determine  how  computers  can  best  be  used  to  make  its   operations     more effective. 

                   Before   development   of   any   project   can   be   pursued,   a   system   study    is  conducted   to    learn   the   details   of     the   current   business     situation  .       Information gathered      through  the  study,  forms      the     basis      for      creating     alternative     design strategies. Management selects the strategy to pursue. 

 

2.1 Existing System 

 

    The  existing  system  is  studied  to  know  the  extent  of  computerization        required.     Therefore,  a     detailed      analysis     of      the  existing      system      should     be conducted.       For    this   purpose  ,  system      should     be   broken   down      into     various    subsystems   and   these   subsystems   were   analyzed   closely   to    identify   the   problem areas. 

                        As   we   studied    the   existing     system,    it   was    found      that     there   was multiple File Management system  which gives  the facility  for  accessing   the   Banking   details .   In  a File Management  all  works  are  done  manually.  The main  problem   of   the   manual    operation    is,    it    is    time    consuming    and    error    prone    than    the  computerized  system.  There exists  wastage  of   data retrieval  time  as in  the  case of  

Page 6: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 6 

 

search    and    further   processing. There was   no  efficient    system    to   manipulate    the existing  records. 

 

                                The  problem  I   observe  in  this  area  is  that  the  user  has  to  do  all  the  operations  manually , by  searching  and  analyzing  large  amount  of  data,  a miss‐spelled  digit  or character  may  create  many  hours  of  extra  work  and  complicated  correction  procedure. Necessary data validation checks are included to avoid mistakes 

 

2.2 PROPOSED SYSTEM 

                               The  existing  system  leads  to  many  errors like data  redundancy, data   inconstancy,  and  also  much  more  paper  works  that  waste   very   valuable    time  and money.     We   collect   a  lot   of    information      from   different   current    tools   and    it’s advantages.                                   Keeping  this  in mind  we decided  to develop  a  software   and named  as          “Banking On ATM Card”       which      is   very   user‐friendly     and   helps    to   make  research   a  real  chore.  This  computerization  improves  efficiency  of  office  work,  and  also  helps  to  keep  data  too  many  years  without  damage  and  can  be  recollected  as  and  when  needed  without  much  time                     The    Proposed    system    solves    problems    related    to    data  accessing      problems, because    it   help   the   user   to   add   details   of   the   customer   to   the   bank  database   easily    ,improving   data  recovery   speed,   easy    searching   and   also   provide  editing  of  data’s  in  the  database  

 

 

 

 

 

 

Page 7: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 7 

 

 

 

 

 

 

 

 

 

 

 

 

 

. SYSTEM SPECIFICATION 

 

 

 

 

 

 

 

 

 

 

 

Page 8: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 8 

 

3.1 SOFTWARE SPECIFICATION

 

Language – c

OS – DOS/ WINDOWS

 

 

3 . 2  HARDWARE  REQUIREMENT

 

Processor -- Pentium III

Processor speed -- 600 MHz

Monitor Size -- 15” SVGA

RAM -- 128 MB

HDD -- 20 GB

Floppy drive -- 1.44 MB

Memory Card -- 128 MB

Keyboard -- 104 or higher

Cache -- 512 KB Level 2 Cache

Printer -- Laser

Modem -- 56.6 Kbps

UPS -- 0.5 KV

 

 

 

Page 9: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 9 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

              4.  SYSTEM ANALYSIS 

 

 

 

 

 

 

 

 

Page 10: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 10 

 

Feasibility Study

4 .1      Feasibility  Analysis 

 

      The  main  objective  of  feasibility  study  is  to  test  the  technical,  social    and    economic  feasibility    of    developing    a    system.    This    is    done    before  developing  a  system . This  is  done  by  investigating  the  existing  system  in  the  area  under  investigation  and  generating  ideas  about  the  new  system. 

 

4.1.1 Economic  and  Technical  Feasibility 

 

      The   system   must   be   evaluated    from    the    technical view   point  first. The  assessment  of  this  feasibility  must  be  based  on  an  outline  design  of  the system  requirement  in terms  of  input,  output, programs, procedure  and  staff. Having  identified  the  outline  of  the  system,  the  investigation  must  go on  to  suggest  the  type     of   equipment,   required method   of developing   the system, and   the method   of running  the system 

 

      This   developing   system   must   be    justified   by   cost   and   benefit  criteria  to  ensure that effort  is  concentrated  on  project  which  will  give  best  return  at  the  earliest .  One  of  the  factors  which  affect  the  development  of a new system  is  the cost  it  would  require.  Since  the  system   is  developed  as  a part  of  our  study ,  there  is  no  manual  cost  to  be  spent  for  the  proposed  system. 

 

Page 11: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 11 

 

4.1.2 Social  and  Behavioral  Feasibility 

             Proposed  project  would   be  beneficial  only  if  they  can  be  turned into  information system  that’ll  meet  the organization operating requirements.    One  of  the  main  problem  faced  during  the  development  of  a new  system  is  getting  acceptance  from  user . Being  a general  purpose  software  there  are  no  resistance  from  the  users  because  this   will be  more  beneficial  to  the  users 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Page 12: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 12 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  5 .    SYSTEM DESIGN 

 

 

 

 

 

 

 

 

Page 13: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 13 

 

SYSTEM DESIGN

Introduction to SYSTEM DESIGN

The   system phase is the life cycle phase in which the detailed design of the selected system in the study phase is accomplished. The design phase the technical specification is prepared for the performers of all allocated tasks. it also include the constructions of the programmers and program tasks. 

 

    In the design phase the first step is to design the output in details first and then to work back to the inputs. The input data bases have to be design   to meet   the   requirements of   the proposed   output.   Then  to  the implementation phase the system analyst has to be define the method of capturing data and the input program and the format of the output its use by the users. 

Page 14: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 14 

 

5.1 Input Design

In      input    design,    the    user‐defined    inputs    are    converted    in    to  computer‐based    format.    Input    design    involves    determining    the    record   media, method  of  input,  speed  of  capture  and  entry  to  the system.  The  most  important approach  to  the input  design  is  formatted  and  prompt  design. 

 

User side Input 

  The inputs provided by user are 

• Login  Bank Password 

• Customer Account number , Name, age , sex , address , passport number 

• Customer  Account number and Customer  Password (On ATM Card) 

• Customer widower and deposit Cash amounts 

 

5.2 Output Design

Computer    output    is    the    most    important    and    direct    source    of  information    to    the   user. Designing    the    computer   output    should   proceed    in  an  organized, well   through   out   manner.   The   right   output   must   be   developed   while  ensuring  that  each  output  element  is  designed  so  that  people  will  find  the  system  easy   to   use   efficiently.   When   analysts   design   computer   output   they    identify   the  specific   output    that    is   needed    to   meet    the    information    requirements.   Different methods  for  the  information will be  selected.   Analyst    creates   document  ,  report, or  other  format  that  contain  information  produced  by  the  system 

 

5.3 Interface Design 

          Interface   design   mainly    focuses   on    the   design   of    interfaces   between  software   modules  , external   entities   and   the   user.   The design   of   internal   program 

Page 15: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 15 

 

interfaces, sometimes   called    inter‐modular    interface   design,  is   driven     by    the data  that  must  flow   between   modules  and   the  characteristics   of   the   programming   

Language  in which  the  software  is  to be  implemented.   External    interface  design  begins  with  an evaluation  of  each  external  entity  represented  in  the  DFD’s  of  the  analysis   model. Both  internal  and  external  interface  design  must  be coupled  with  data  validation  and  error  handling  algorithms  within  a  module. Because  side  effects  propagate  across  program interfaces,  it  is  essential  to  check  all  data flowing from module  to module    to   ensure    that    the   data   conform    to   bounds   established  during  requirements  analysis.  User  interface  design  has  as  much  to  do  with  the study of  people  as  it  does  with  technology  issues.  Who is the user?  How does  the  user  learn  to  interact  with  a new  computer‐based  system ?  So the system should be developed in a user‐friendly manner. 

5.4 Procedural Design 

        A    procedural    design    reduces    complexity  ,    facilitates  change  (  a  critical  aspect    of    software   maintainability  ),    and    results    in    easier    implementation    by  encouraging   parallel   development   of   different   parts   of    a    system. Software   with  effective    modularity    is    easier    to  develop    because    function    may    be  compartmentalized    and    interfaces   are    simplified.   Software   architecture    embodies  modularity  ,    that    is,  software    is   divided    into    separately   named   and    addressable  components   called   modules, which   are   integrated   to satisfy   problem   requirements.  Modularity    is    the    single    attribute    of    software    that    allows    a    program    to    be  intellectually  manageable.  Monolithic  software ( i.e., a  large  program  comprised  of  a single  module)  cannot  be  easily  grasped   by  reader.  The Five  important  criteria  that  enable   us   to   evaluate   a   design   method   with   respect   to    its   ability   to   define   an effective  procedural  design  are, as  described  below 

Page 16: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 16 

 

5.5 Modular Description 

 

The administrator has  the  right  to access  the  system. To   get    into    the  system  the  administrator  has  to  give  the  Bank  password.  If  the  Bank user password  given  are  incorrect  the  system  displays  a  message  to  the  user  showing  that  the  given details  are  invalid. Otherwise it go ‘ Main Menu ’ bar. It will contain five stages 

 

Main Menu On Bank Account Viewer

1. Account Menu 

       The  Account menu  is  controlled  by  three  stages.  Open,  edit  and  close  the customer account they are describe in following section. 

 

1.1. Open Account 

     The   Customer    details    such    as   Account number  , name,  sex  ,  age  , address  , deposited  amount    are    entered   by  pressing    1  from    the   Account  menu  and  these  details  are  saved.  The  system  prompts  whether  the  user  wants  to  add   more  records . If Re type ‘1’  is  pressed  the  user  can  add  more  records . 

1.2. Edit Record

If the user wants to edit the details of a particular record, then the user has to enter the Account number by pressing 2 from the Account menu which represents the record to be edit . The customer city and address are only to be change and the recordable.

1.3. Close Record

Page 17: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 17 

 

      If  the  user  wants to  Close  the  details  of  a particular  record,  then  the user  has  to  enter the  Account number of  the Customer he/she  wish  to  close  by pressing 3 from the main menu  .  The transaction of the particular account customer is closed. 

2. Display Menu 

        The  user  can  see  all  the  Bank balance , Customer  details and about me ,  by  pressing  2 from  the  main menu 

2.1 Bank Balance 

                 If  the  user  wants  to  search  for  a  bank balance  details  based  on  the  Customer account number  then  by pressing  1 from  the display  menu  .  The Software  is also given all customer details and balance amount of them by calculating deposited amount. 

2.2 Account View

If the user wants to display the details of a particular record, then the user has to enter the Account number by pressing 2 from the display menu which represents the record to be displayed . The details are displayed to the user.

2.3 About me

If the user wants to know the details of a software developers then the user has to enter the pressing 3 from the display menu which represents the details report of software developers.

3. Settings

        The  user  can  see  all  the  Bank balance , Customer  details and about me ,  by  pressing  2 from  the  main menu 

 

Page 18: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 18 

 

3.1 Change Password 

                 If    the bank user   wants    to    change    the   old password of bank   by pressing   1 from    the  settings   menu    .   The Software  is  support all character words to be changed as given new password. 

3.2 Change Interest

      If  the bank user  wants  to  change  the  old interest rate of bank  by pressing  2 from  the settings  menu  .   

3.3 Help

If the user wants to know the usage or route of a software then the user want to enter the pressing 3 from the settings menu which represents the details report of software developers.

4. Transaction 

        The  user  can  see  all  the  Add Deposited  Amount, Freeze Account and Re‐Audit ,  by  pressing  2 from  the  main menu 

 

4.1 Add Deposited Amount 

                 If   the   user   wants   to   add deposited cash to   bank balance   on   the  Customer account number  then  by pressing  1 from  the Transaction  menu  .  After that type customer account number and deposited amount. 

4.2 Freeze Account

If  the  user  wants  to  freeze any  bank account  on  the  Customer then  by pressing  2 from  the Transaction  menu  .  After that type customer account number and if type ‘y’ the account will Freeze stage it block all money transactions. Otherwise type ’n’ the account will Change to open stage.  

4.3 Re‐Audit

Page 19: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 19 

 

If the user wants to Re-Audit the all customer account .Then the user has to enter the pressing 3 from the Transaction menu . It will increase all customer account with their bank account interest amount.

5. Save and Exit

  By pressing 5 the user can exit from the software. 

Page 20: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 20 

 

 

Main Menu On ATM Account Viewer

The ATM account software manufactured by automatic reading of account number of customer ATM card. When the customer enters the correct password on it the main menu will display by checking the bank account is open stage only. 

1. Balance Enquiry 

       If the user wants to display the details of his record, then the user has to enter 2 from the main menu which represents the record to be displayed . The details are displayed to the user.  

2. Settings 

        The  user  can  see  all  the  Change Password, Account view and about me ,  by  pressing  2 from  the  main menu 

2.1 Change Password 

                 If  the  user  wants  to  search  for  a  bank balance  details  based  on  the  Customer account number  then  by pressing  1 from  the display  menu  .  The Software  is also given all customer details and balance amount of them by calculating deposited amount. 

2.2 Account view

If the user wants to display the details of a particular record, then the user has to enter the Account number by pressing 2 from the settings menu which represents the record to be displayed . The details are displayed to the user.

Page 21: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 21 

 

3. Windrow Cash 

        The customer want to receive his amount by pressing 3 from the main menu .The customer can easily receive his cash. 

4. About me 

        If the user wants to know the details of a software developers then the user has to enter the pressing 4 from the display menu which represents the details report of software developers.  

5. Exit

  By pressing 5 the user can exit from the ATM card currently use. Automatically re read the next ATM while we will be inserting in few second after or please use the enter key. 

Page 22: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 22 

 

5.6 Data flow diagrams 

       The  Data  flow  diagrams  was  first  developed  by Larry  Constantine  as  a way  of   expressing   system   requirements    in   a   graphical   form   and   this    led   to   modular design. 

                 A data    flow   diagram  ,  also  known    as  “ Bubble Chart  “ has  the purpose  of clarifying    system    requirements    and    identifying major  transactions  that will become programs  in  system  design .  A DFD consists of series of  squares  joined  by  lines. The  squares  represent  the  data  transformations  and  the  lines  represent  data flows in the system. 

 

DFD   Symbols 

1. A rectangle defines a source (originator) or designation of system data. 

2. An arrow identifies data flow i.e., data in motion. It is a pipeline through which information flows?

3. A circle represents a process that transforms incoming data flows into Outgoing data flows.

4. An open rectangle is a data store , data at rest , or a temporary repository of data .

 

 

 

 

 

 

 

Page 23: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 23 

1. Data flow diagrams for banking system

 

Administrator 

 

 

 

 

 

 

 

 

 

 

 

Page 24: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 24 

 

CONTEXT LEVEL DFD 

 

 

 

 

 

           

 

 

 

 

 

 

 

 

 

 

Page 25: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 25 

 

Open Account 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Page 26: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 26 

 

1.2 Edit Account 

 

 

 

 

 

 

 

 

 

 

 

 

Page 27: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 27 

 

1.3 Close Account 

 

 

 

 

 

 

 

 

 

 

 

 

Page 28: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 28 

2. Display Menu 

 

 Bank Balance 

 

 

 

 

 

 

 

 

 

 

 

 

Page 29: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 29 

 

2.2 Account view 

 

 

 

 

 

 

 

 

 

 

 

 

Page 30: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 30 

Settings 

 

3.1 Change Password 

 

 

 

 

 

 

 

 

 

Page 31: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 31 

 

3.2 Change Interest Rate 

 

 

 

 

 

 

 

 

 

 

 

Page 32: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 32 

 

4 . Transaction Menu 

 

4.1 Add Deposit  

 

 

 

 

 

 

 

 

 

 

Page 33: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 33 

 

4.2 Freeze Account 

 

 

 

 

 

 

 

 

 

 

 

Page 34: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 34 

 

4.3 Re Audit 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Page 35: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 35 

 

 

2. Data flow diagrams on ATM card system

. Balance Enquiry 

 

1

   

 

Page 36: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 36 

2. Settings 

2.1 Change Password 

 

 

 

 

Page 37: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 37 

 

2.2 Account view 

Page 38: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 38 

. Windrow Cash 3

 

 

 

 

 

 

 

 

 

Page 39: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 39 

 

 

 

 STRUCTURE CHART

1.  Banking System 

 

 

 

 

 

 

 

 

 

 

Page 40: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 40 

 

 

 

 

 

2. Banking on ATM Card 

 

 

 

 

 

 

 

 

 

 

 

Page 41: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 41 

 

 6. IMPLEMENTATION AND   TESTING 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Page 42: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 42 

 

6.1   IMPLEMENTATION 

The final and important phase in the system life cycle is the implementation of the new system. The t meaning , ranging, from the conventions of the ent of the computer system.

• Investigations of system constrain

d to achieve the change over

hase

scale to be adopted was found out tested properly and at the same time users were trained in

e new procedure to manipulate the system 

term implementation has differen

basic application to a complete replacemThe procedure however is virtually the same. Implementations include all those activities that take place to convert from old system to new. The new system may be totally new replacing an existing manual or automated system or it may be major modification to an existing system. The method of implementation and time scale to be adopted is found out initially. Next the systems are tested properly and at the same time the users are trained with the new procedure. Proper implementation is essential to provide a reliable system to meet organizational requirement. Successful implementation may not guarantee improvement in the organization using the system, but it will prevent improper installation. The implementation involves the following things

• Careful planning

• Design the metho

• Training the staff in the change p

• Evaluation of change over method

The method of implementation and time initially. Next the system is th

 

 

 

 

Page 43: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 43 

 

 

 

Page 44: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 44 

 

 

 

Page 45: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 45  

 

Page 46: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 46  

 

Page 47: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

age 47 F M N College, Kollam – IDE Study Centre  P  

 

Page 48: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  P e 48 ag

 

 

 

 

 

 

 

 

 

 

 

 

 

   7.  CONCLUSION 

 

 

 

 

 

 

 

 

 

 

Page 49: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 49 

 

CONCLUSION

 

This   project      ‘ Banking On ATM Card  ‘     deals   with    the   Member  addition  process,  Edit,  delete,  and  search  process  for  Customer  details.  This  project    successful  in  meeting  the  goals  of  this  concern,  where  the  manual  system  was  ot   at   their    full   satisfaction.   By   computerizing   the   concern, the   accuracy   of   the  

data  recording  has  been  increased  and  the  speed  is  also  increased. 

 

This  system  provides  precise      enlistment  of      customer  information.  It     the   customer   details   and   give   adequate   information   about   the   customer.  

ata can be retrieved as and when required.    It creates different data and are stored  in different File sections.  These files are also used for further processes 

 

 

 

isn

recordsD

 

 

 

 

 

 

 

 

 

Page 50: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 50 

 

 

 

 

 

 

 

 

APPENDIX 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Page 51: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 51 

 

nstall file

include <stdio.h> include <conio.h>

#include <graphics.h> include <stdlib.h>

#include <dos.h> include <string.h>

#include <alloc.h>

truct sbi {

int n; char pass[10];

float inter,fix;

oid titlebar() {

setcolor(BLUE); settextstyle(0,0,6); outtextxy(30,30,"SBI"); setcolor(6);

settextstyle(0,0,2); outtextxy(200,30,"State Bank Of India");

setcolor(7); settextstyle(0,0,1);

outtextxy(230,50,"Chinakada Road ,Kerala , Kollam"); outtextxy(270,65,"Pin code : 691001");

00,500,100);

oid show()

{ t x;

UE); for(x=300;x<=590;x++) {

rectangle(300,420,x,445);

 

I

##

#

#

s

}bank; v

line(100,1}

v

insetcolor(BL

Page 52: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 52 

 

sound(100); delay(10);

}

Eam

); lrscr();

e(); tlebar();

=1;

Enter Bank Interest Rate \t : "); canf("%s",&bank.inter);

toxy(12,17);

f ((stream =

cleardevice(); gotoxy(16,15);

annot Write output file."); delay(200);

fwrite(&bank, sizeof(bank), 1, stream);

nosound();

} void main() { int gd=DET CT,gm; FILE *stre ; initgraph(&gd,&gm," " c cleardevic ti bank.n gotoxy(12,15); printf(" s go printf("Enter fixed Amount \t: "); scanf("%f",&bank.fix); gotoxy(12,19); printf("Enter the Bank Password \t: "); scanf("%s",&bank.pass); i fopen("Sbi.sbi", "wb")) == NULL) { clrscr(); printf("C } else { fclose(stream);

Page 53: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 53 

 

otoxy(15,28); setcolor(YELLOW); ectangle(100,417,600,448);

printf("Saving . . ."); show();

}

etch();

reated By Vinu David A

FMN College , India

//////// Kerala , Kollam

//////// E-Mail : [email protected]

e:

include <conio.h> include <graphics.h>

ing.h> c.h>

; show2(); check(); settings();

oid tran();

g r exit(0); g} /////////// C ////////// To // ////////// Mob : - 97 46 96 86 37 //

Bank Users Cod

#include <stdio.h> ###include <stdlib.h>

<dos.h> #include #include <str#include <allo 

void closewin()voidvoidvoidvvoid form1();

Page 54: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 54 

 

epo(); ();

id bankdisplay(); oid main(); oid help();

t sd,sm,sy; 

truct sbi 

int n; 

    float accno;     char name[30]; 

0],accpass[25],address[101],city[25]; o,balance; 

[5]; 

 y,int p,int q,int t) 

void vochers(); void display(); void about(); void export(); void modacc(); void adddvoid closevovv in s{     char pass[10];   float inter,fix; }bank;  struct atm {              int age,sd,sm,sy;        char sex[5];        char stat[10]; }card;  struct acc { 

float accno;    char name[3  float fix,ppn  char stat}account;   void tinreat(int x,int

Page 55: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 55 

 

(RED); or(i=1;i<=t;i++) 

ctangle(p,q,x+i,y+i);   delay(100); 

oid titlebar() 

setcolor(BLUE); textstyle(0,0,6); 

outtextxy(30,30,"SBI"); setcolor(6); 

tyle(0,0,2); (200,30,"State  Bank  Of  India"); 

setcolor(7); settextstyle(0,0,1); 

textxy(230,50,"Chinakada Road ,Kerala , Kollam"); outtextxy(270,65,"Pin code : 691001"); 

100,500,100); 

 int i,j;  setcolor(2); 

 for(i=10;i<=450;i=i+5)   { 

le(10,i,5); 

r(i=10;i<=620;i=i+5) {      circle(i,10,5); 

{   int i;   setcolor    f     {       re        } }  

v{    set    settexts  outtextxy    out   line(100,}  void show1() {             circ      circle(620,i,5);       delay(10);     }    fo         circle(i,450,5); 

Page 56: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 56 

 

     delay(10); 

show2

setcolor(7); settextstyle(0,0,6); 

0;i>=30;i‐‐) { 

BLUE); ,"SBI"); 

; xtxy(i,i,"SBI"); 

E); 

  Bank  Of  India"); setcolor(7); settextstyle(0,0,1); 

txy(230,50,"Chinakada Road ,Kerala , Kollam"); outtextxy(270,65,"Pin code : 691001"); 

=400;i++) 

; lay(10); 

lrscr();

tlebar

   }    (); }  void show2() {   int i,j;     for (i=25     setcolor(    outtextxy(i,i    setcolor(BLACK)    outte    delay(5);   }   setcolor(BLU  outtextxy(i,i,"SBI");   setcolor(6);   settextstyle(0,0,2);   outtextxy(200,30,"State    outtex   for(i=0;i<  {     line(100,100,100+i,100)    de  } } void help() { int i,j; c  cleardevice(); ti (); 

Page 57: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 57 

 

 und(100); 

ettextstyle(0,0,2); 50,"Help Menu"); 

toxy(10,12); rintf("\  very GUI freindly Banking Accounting Software.Follwing  are key cases used to data insert nd morintf("\ close an Account are contain this property "); rintf("\ k Balance,Account Information,About Me as are contain this property "); rintf("\n3.Settings\n\n\tChage Password,Change Interest Rate as on Bank property "); 

d Deposite,Re Audit an  Accounts amount contain this property "); it SBI Account property or Quit the software. "); 

ettings  

oid ad

int n,i,char na [25],pass[25]; float fi  struct FILE *sgetdatsd = d.sm = d.da_mon ; 

clrscr()eardevice(); 

YELLOW); gle(50,150,600,450); 200,600,200); 

0,230); 0,600,260); 

for(i=1;i<10;i++) { setcolor(i);sosouttextxy(80,1gop tThis aa difys"); p n\n1.Account\n\n\tCreate,edit,p n2.Display\n\n\tBanpprintf("\n4.Transaction\n\n\t Adprintf("\n5.Exit.\n\n\tThis contain exdelay(800); nosound(); } s ();} v dform() {    age,sd,sm,sy;    me[30],c[4],address[100],stat[5],sex[5],city   x,balance,ppno;   date d;    tream;    e(&d);    da_day ;     sy = d.da_year ;   n=bank.n;    ;   cl  titlebar();   setcolor(  rectan  line(50,  line(50,230,60  line(50,26

Page 58: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 58 

 

290);  

,600,370); ; 

mber    :"); 

 

%d",sd,sm,sy); 

,&age); 6); 

ntf("Sex (Male/Female)  :"); ",&sex); 

  :"); 

",&address); 

 nt Password   :"); 

ss); 

ount    :"); nce); 

bank.fix) 

ed Amount is Low.Minimum Amount is %f",bank.fix); 

er    :"); 

  line(50,290,600,  line(50,325,600,325);  line(50,370  gotoxy(9,12)  printf("Account Nu  printf("%d",n+1000);   gotoxy(40,12);  printf("Opening Date       :");   printf("%d‐%d‐  gotoxy(9,14);   printf("Account Name      :");   scanf("%s",&name);   gotoxy(9,16);   printf("Age      :");   scanf("%d"  gotoxy(40,1  pri  scanf("%s  gotoxy(9,18);  printf("Adress    scanf("%s  gotoxy(9,20);   printf("City     :");   scanf("%s",city);   gotoxy(40,20);  printf("\7Accou  scanf("%s",pa  gotoxy(9,22);   printf("Depocite Am  scanf("%f",&bala  if(balance<  {    gotoxy(9,30);    printf("Fix  }   gotoxy(40,22);   printf("Passport Numb  scanf("%f",&ppno);   gotoxy(9,25); 

Page 59: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 59 

 

 Save This Account (y/n) :"); 

)==0)||(strcmp(c,"Y")==0)) 

aving . . ."); 

card.accno=n+1000; =n+1000; 

(card.name,name); card.age=age; 

py(card.sex,sex); y(account.address,address); 

ccount.city,city); "Open"); 

unt.ppno=ppno; card.sd=sd; 

sm=sm; sy; 

account.accno=n+1000; py(account.name,name); cpy(account.accpass,pass); 

t.fix=bank.fix; alance; 

py(account.stat,"Open"); export(); 

biacc.sbi","a+b"); ar*)&account,1,sizeof(account),stream); 

(stream);   bank.n=n+1; 

 { e(300,420,i,440); 

  printf("Do you Want to  scanf("%s",&c);   if((strcmp(c,"y"  {    line(50,410,600,410);    gotoxy(9,28);    printf("S   setcolor(BLUE);         account.accno    strcpy       strc    strcp    strcpy(a    strcpy(card.stat,    acco       card.    card.sy=       strc    str    accoun    account.balance=b    strc       stream=fopen("s    fwrite((ch    fclose     for(i=300;i<=590;i++)     rectangl   delay(10);    }    clrscr()

Page 60: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 60 

 

 

 titlebar(); 

 : "); 

==no) 

    fact=1;  

{ fact=0; } 

   cleardevice();    titlebar();   vochers();   }   else   {    clrscr();    cleardevice();     vochers();   } }  void accview() {   float no;   int n,i,fact;   float balance;   FILE *stream;   clrscr();   cleardevice();   titlebar();   stream=fopen("Sbiacc.sbi","r+b");   gotoxy(25,15);   printf("Enter Account Number  scanf("%f",&no);    n=bank.n;      for(i=1;i<n;i++)      {      fread(&account,sizeof(account),1,stream);      if(account.accno      {        break;          else                

Page 61: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 61 

 

 clrscr();  cleardevice();  titlebar(); 

; gle(50,150,600,450); 

toxy(9,14); tf("Acount Number     :%f",account.accno); 

 gotoxy(9,16);    printf("Account Name      :%s",account.name);    gotoxy(9,18); 

 printf("Account Standard   :%s",account.stat);     gotoxy(9,20); 

 printf("Passport Number    :%f",account.ppno);  gotoxy(9,22);  printf("Address     :%s",account.address);  gotoxy(9,24);  printf("City        :%s",account.city);  gotoxy(9,26);  printf("Balance Amount     :%f",account.balance); 

i<=10;i++) 

); nd(100); 

le(0,0,2);  outtextxy(80,170,"Account View"); 

e(); );  

     }       if(fact==1        {               setcolor(YELLOW)     rectan     go     prin                                   delay(1000);      for(i=0;     {      setcolor(i     sou     settextsty        delay(300);      nosound();      }      fclose(stream);      clrscr();      cleardevic     titlebar(     display();   }    else 

Page 62: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 62 

 

); cleardevice(); 

,25); 

D); 

Number Wrong"); 

 

   {     clrscr(       gotoxy(25    titlebar();     setcolor(RE    settextstyle(1,0,1);     outtextxy(400,250,"Account     adddepo();    } }  void display() { int i;  clrscr();  cleardevice();  titlebar();   gotoxy(27,10);   printf("Menu Bar ‐ Display")  gotoxy(25,13);   printf(" 1 . Bank Balance");   gotoxy(25,15);   printf(" 2 . Account View");   gotoxy(25,17);   printf(" 3 . About Me");   gotoxy(25,19);   printf(" 4 . Go Back");   setcolor(YELLOW);   rectangle(175,130,375,380);  line(175,160,375,160);   line(175,165,375,165);   line(175,340,375,340);   gotoxy(23,23);   printf(" Enter your choice :");   scanf("%d",&i);   switch(i)   {   case 1: 

Page 63: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 63 

 

bankdisplay(); 

clrscr();      cleardevice();      titlebar(); 

   form1();      break; default: 

gotoxy(25,25); printf("\7Wrong Decision"); delay(300); 

 

() 

 

am; 

; sbi","r+b"); 

ccount No \t\t Customer Name \t\t\t Balance"); n\n‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐"); 

;i++) 

 fread(&account,sizeof(account),1,stream); "\n%2d \t%f %20s \t\t %10f ",i,account.accno,account.name,account.balance); 

              break;   case 2:        accview();        break;   case 3:        about();        break;   case 4:                            display();    break;   }; } void bankdisplay{   int i=1,n;  float a=0;   FILE *stre  clrscr();   cleardevice()  stream=fopen("Sbiacc.  titlebar();   gotoxy(1,12);   printf("Sl No\t  A   printf("\  n=bank.n;   for(i=1;i<n    {            printf(

Page 64: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 64 

 

  a=a+a} 

tream); rintf(" ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐"); rintf("  Bank Balance : %f",a); 

\n\n‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐"); 

rm1();

oid ad epo()

float no; int n,i,fact,ca; float balance; FILE *s

iacc.sbi","r+b"); 

ntf("Enter Account Number : "); scanf("%f",&no); 

   for(i=1;i<n;i++) 

ad(&account,sizeof(account),1,stream); ount.accno==no)&&(strcmp(account.stat,"Open")==0)) { fact=1; 

break; } 

     ccount.balance;        fclose(s   p \n\n‐‐‐‐‐‐‐‐‐‐‐   p \n\t\t\t\t   printf("  delay(7000);   fo  } v dd  {          tream;   clrscr();   cleardevice();   titlebar();   stream=fopen("Sb  gotoxy(25,15);   pri    n=bank.n;       {      fre     if((acc                ca=i;                else       fact=0;      }       if(fact==1)         {      clrscr();      cleardevice(); 

Page 65: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 65 

 

; e(50,150,600,350); 

y(9,16); ("Account Name      :%s",account.name); 

   gotoxy(9,18); printf("Deposited Amount   :"); 

   scanf("%f",&balance);  account.balance=account.balance+balance;  fwrite((char*)&account, sizeof(account), 1, stream);  fclose(stream);  clrscr();  cleardevice();  titlebar();  vochers(); 

rdevice(); ,25); 

titlebar(); 

400,150,"Account Number Wrong , Freeze or Close Account Number"); 

();leardeebar

     titlebar();      setcolor(YELLOW)     rectangl     fseek(stream,(long)((ca‐1)*sizeof(account)),0);      gotoxy(9,14);      printf("Acount Number     :%f",account.accno);      gotox     printf                               }    else    {     clrscr();     clea    gotoxy(25       setcolor(RED);     settextstyle(1,0,2);     outtextxy(    adddepo();    } } void vochers() {  int i;  clrscr   c vice();  titl ();   gotoxy(27,10);   printf("Menu Bar ‐ Account"); 

Page 66: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 66 

 

e :"); 

addform(); break; 

cleardevice();      titlebar(); 

   form1();      break; default: 

gotoxy(25,25); printf("Wrong Decision"); delay(100); 

 

  gotoxy(25,13);   printf(" 1 . Open Account");   gotoxy(25,15);   printf(" 2 . Edit Account");   gotoxy(25,17);   printf(" 3 . Close Account");   gotoxy(25,19);   printf(" 4 . Go Back");   setcolor(YELLOW);   rectangle(175,130,375,380);   line(175,160,375,160);   line(175,165,375,165);   line(175,340,375,340);   gotoxy(23,23);   printf(" Enter your choic  scanf("%d",&i);   switch(i)   {   case 1:                 case 2:        modacc();        break;   case 3:        closewin();        break;   case 4:        clrscr();                           clrscr();    cleardevice(); 

Page 67: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 67 

 

(); 

 

100],city[25]; 

biacc.sbi","r+b"); ,15); 

intf("Enter Account Number : "); f",&no); 

h(fileno(stream))/sizeof(account); =tsize;i++) 

  { fread(&account,sizeof(account),1,stream); if(account.accno==no) 

    {  ca=i;  fact=1; 

     break;  } 

f(fact=    { 

(); 

,150,600,450); ,12); 

enu "); 

    titlebar    vochers();     break;  }; }  void modacc() {   float no;   int i=1,fact=0,ca,tsize;   char name[30],address[  FILE *stream;   clrscr();   cleardevice();   titlebar();   stream=fopen("S  gotoxy(25  pr  scanf("%    tsize=filelengt    for(i=1;i<                                                  }    i =1)          clrscr();      cleardevice     titlebar();      setcolor(YELLOW);      rectangle(50     gotoxy(9     printf("Edit M

Page 68: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 68 

 

4); ========================="); 

tream,(long)((ca‐1)*sizeof(account)),0);  gotoxy(9,16); 

   printf("\7Account number     : %f",account.accno);    gotoxy(9,18); 

 printf("Account name       : %s",account.name);    gotoxy(9,20); 

 printf("Adress             : "); s",&address); 

 printf("City         : ");  scanf("%s",city);   strcpy(account.address,address);   strcpy(account.city,city); 

ount,1,sizeof(account),stream); m); 

unt Number Wrong"); ); 

y(300); vochers(); 

     gotoxy(9,1     printf("===     fseek(s                 scanf("%     gotoxy(9,22);                   fwrite((char*)&acc      fclose(strea      vochers();    }     else    {     clrscr();     cleardevice();     gotoxy(25,25);     titlebar();     setcolor(RED);     settextstyle(1,0,1);     outtextxy(400,250,"Acco    printf("\7"    dela      } }  void freezeacc() { int i,n,ca,fact=0; float fre; 

Page 69: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 69 

 

mber :"); 

ount),1,stream); 

k; } 

} 1) 

ount Number             :%f",account.accno); 

e                          :%s",account.name); 

ant to Freeze this Account (y/n) :"); c); 

,"y")==0)  

    fseek(stream,(long)((ca‐1)*sizeof(account)),0);     strcpy(account.stat,"Freeze"); 

fwrite((char*)&account, sizeof(account), 1, stream);     fclose(stream); 

tran(); } 

char c[5]; FILE *stream;     clrscr();     cleardevice();     titlebar();     gotoxy(25,20);     stream=fopen("Sbiacc.sbi","r+b");     printf("Enter the Account Nu    scanf("%f",&fre);      n=bank.n;      for(i=1;i<n;i++)      {   fread(&account,sizeof(acc     if(account.accno==fre)       {       fact=1;       ca=i;       brea        if(fact==  {     clrscr();     titlebar();     gotoxy(9,14);     printf("Acc    gotoxy(9,16);     printf("Account Nam    gotoxy(9,18);     printf("You W    scanf("%s",&    if(strcmp(c    {                

Page 70: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 70 

 

else {   fseek(stream,(long)((ca‐1)*sizeof(account)),0); 

strcpy(account.stat,"Open");   fwrite((char*)&account, sizeof(account), 1, stream); 

fclose(stream); 

    clrscr(); 

ttextxy(400,250,"Wrong Account Number"); 0); 

oid clo

"); :"); 

); 

1,stream); o==fre) 

                            tran();     }   }   else   {        cleardevice();       titlebar();       ou      delay(50      tran()  }     tran(); } v sewin() { int i,n,ca,fact=0; float fre; char c[5]; FILE *stream;     clrscr();     cleardevice();     titlebar();     gotoxy(25,20);     stream=fopen("Sbiacc.sbi","r+b    printf("Enter the Account Number     scanf("%f",&fre     n=bank.n;      for(i=1;i<n;i++)      {   fread(&account,sizeof(account),     if(account.accn     

Page 71: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 71 

 

fact=1; ca=i; 

rscr(); titlebar(); gotoxy(9,14); printf("Account Number             :%f",account.accno); 

                         :%s",account.name); 

==0) {   fseek(stream,(long)((ca‐1)*sizeof(account)),0); 

    strcpy(account.stat,"Close"); fwrite((char*)&account, sizeof(account), 1, stream); 

    fclose(stream); tran(); 

} else {   fseek(stream,(long)((ca‐1)*sizeof(account)),0); 

strcpy(account.stat,"Open");   fwrite((char*)&account, sizeof(account), 1, stream); 

fclose(stream); 

lebar(); 

                break;       }   }   if(fact==1)   {     cl             gotoxy(9,16);     printf("Account Name     gotoxy(9,18);     printf("You Want to Close this Account (y/n) :");     scanf("%s",&c);     if(strcmp(c,"y")                                                 tran();      }   }   else        clrscr();       cleardevice();       tit

Page 72: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 72 

 

y(400,250,"Wrong Account Number"); 500); 

  tran()

oid tra  

ss[25],address[101],city[25]; 

 Accounts"); 

dit"); 

line(175,160,375,160); ,165); 

line(175,340,375,340); printf( r your choice :"); scanf(" d",&i); 

      outtextx      delay(      tran();   }    ; } v n(){      int i,j,n,sd,sm,sy,tsize;      char name[30],stat[5],accpa     double ppno;      float fix,balance,accno,no;      struct date d;      FILE *stream;      getdate(&d);      clrscr();      cleardevice();      titlebar();   gotoxy(25,10);   printf(" Menu Bar‐Transaction");   gotoxy(25,13);   printf(" 1 . Add Deposited Amount");   gotoxy(25,15);   printf(" 2 . Freeze  gotoxy(25,17);   printf(" 3 . Re Au  gotoxy(25,19);   printf(" 4 . Go Back");   gotoxy(23,23);   setcolor(YELLOW);   rectangle(175,130,375,380);     line(175,165,375     " Ente   %  switch(i)   {   case 1: 

Page 73: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 73 

 

   freezeacc();    break; 

case 3:    clrscr(); 

     cleardevice(); ); 

 sm = d.da_mon ; ar ; 

 stream=fopen("Sbiacc.sbi","r+b"); gotoxy(5,10); printf("\7\n\nInterest Rate : %f Percentage ",bank.inter); 

   printf("\tCurrent Date : %d‐%d‐%d",sd,sm,sy); printf("\n\n\n\7Sl  \t Account \t Account \t Amount \t Total"); 

   printf("\nno \t Number \t Name \t \t  rate"); printf("\n‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐"); 

for(i=0;i<n‐1;i++) 

    fseek(stream,(long)((i)*sizeof(account)),0); unt,sizeof(account),1,stream); 

    printf("\n %d \t %f %s \t %f \t %f ,account.name,account.balance,account.balance*(bank.inter/100),(account.bala

lance*(bank.inter/100))); nt.balance)+(account.balance*(bank.inter/100)); 

    fseek(stream,(long)((i)*sizeof(account)),0); te((char*)&account,1,sizeof(account),stream); 

\n\n\t\t\t\t\t\t End Of Re‐Audit . . ."); tream); 

tran(); break; 

se 4:    form1(); 

       adddepo();        break;   case 2:                   titlebar(       sd = d.da_day ;              sy = d.da_ye                                               n=bank.n;               {                   fread(&acco       \t%f",i+1,account.accnonce)+(account.baaccount.balance=(accou                  fwri           delay(300)       }        printf("       fclose(s       delay(5000);                 ca   

Page 74: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 74 

 

efault:gotoxy(25,25); 

g Decision"); ); 

tran(); 

 

oid se ngs() 

   int i, sd,sm,   char  ew1[1   struc date d;   FILE  m;   getd e(&d);   clrscr();    cleardevice();   titleb r(); gotoxy(25,10);printf("Menu Bgotoxy(25,13);printf( 1 . Chagotoxy(25,15);printf( 2 . Cha

printf( 4 . Go gotoxy(23,23);setcolor(YELLOrectangle(175,130,375,380); line(17 ,160,3line(17 ,165,3line(17 ,340,3printf( Enter y e :"); scanf("%d",&i)

       break;   d         printf("\7Wron    delay(300       break;   };} v tti{    n, sy;    n 0],old[10],new2[10];    t      *strea     at           a       ar‐Settings");        "  nge Password");        "  nge interest");   gotoxy(25,17);   printf(" 3 . Help");   gotoxy(25,19);    "  Back");        W);      5 75,160);    5 75,165);    5 75,340);    "  our choic   ;    switch(i) 

Page 75: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 75 

 

y(10,10); ("Enter Old Password :"); 

   scanf("%s",&old);      gotoxy(10,12); 

   printf("Enter New Password :");      scanf("%s",&new1); 

toxy(10,14); ssword   :"); 

 scanf("%s",&new2); if((strcmp(bank.pass,old)==0)&&strcmp(new1,new2)==0) 

{    strcpy(bank.pass,new2); 

 setcolor(RED);    settextstyle(1,0,1); 

 outtextxy(400,250,"Password Changed"); 600); 

 clrscr(); ice(); 

 titlebar(); s(); 

} e 

{  setcolor(RED);  settextstyle(1,0,3);  outtextxy(400,250,"Password Wrong"); 

700); clrscr(); cleardevice(); titlebar(); 

s(); } 

     break; 

  {   case 1:        clrscr();        cleardevice();        titlebar();        gotox       printf               go       printf("Conform Pa                                         delay(            cleardev            setting            els                           delay(                            setting        case 2: 

Page 76: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 76 

 

   clrscr();    cleardevice(); 

;  

 Interest Rate       : %f",bank.inter); 

: "); nter); 

ase 3: 

ase 4: 

ice(); 

cision"); 

s(); 

)) == NULL) 

    titlebar();     goto ); 

             titlebar()       gotoxy(10,12);       printf("Old       gotoxy(10,14);        printf("Enter new Interest Rate        scanf("%f",&bank.i       settings();        break;   c       help();        break;   c       clrscr();        cleardev       titlebar();        form1();        break;   default:     gotoxy(25,25);     printf("Wrong De    delay(100);     clrscr();     cleardevice();     titlebar();     setting    break;   }; }  void export() {  FILE *stream; if ((stream = fopen("A:\Sbi.sbi", "w+"   {  clrscr();       cleardevice();      xy(16,15

Page 77: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 77 

 

    prin "\7Ca  ATM Card files .");     delay(100);  } lse 

 fwrite(&card,  eam);  fclose(stream

oid about() 

t i,j; lrscr();

ice(); ; 

ircle(1 ); ,250,100); 

); 

0;i++) 

setcolor(i); sound(100); 

txy(300,200,"Product By :"); outtextxy(300,220,"   Name    : Vinu David .A"); 

xy(300,240,"   Reg No  : 6209"); llam"); 

y(300); ; 

   tf( nnot Write    e    sizeof(card), 1, str   ); }  v{   in  c    cleardev  setbkcolor(BLACK)  setcolor(4);   circle(40,70,30);   circle(130,70,30);   c 00,130,60  circle(150  circle(70,220,25);   circle(230,200,25);   circle(80,320,30);   circle(240,320,30  circle(65,115,5);   circle(120,110,5);   circle(110,150,10);   for((int) i=1;i<=1  {     outtex   outtext  outtextxy(300,260,"   College : F M N C Ko  dela  nosound()  }   form1(); 

Page 78: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 78 

 

 saveexit() 

 *stream; 

tlebar(); 

fopen("Sbi.sbi", "wb")) == NULL) {  clrscr();     clear ();     title    goto    prin put file.");     dela } lse  { 

bank), 1, stream); 

  }  exit(0

oid for

int i; clrscr(cleardetitlebargotoxyprintf("gotoxyprintf(gotoxyprintf( ); gotoxy(25,17); printf( gs"); 

}  void{  FILE clrscr();  cleardevice();  ti  if ((stream =       device   bar();    xy(16,15);    tf("Cannot Write out   y(200);   e    fwrite(&bank, sizeof(  fclose(stream);      ); }  v m1() {      );    vice();    ();    (27,10);      Menu Bar");    (25,13);    " 1 . Account");    (25,15);    " 2 . Display"     " 3 . Settin

Page 79: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 79 

 

 printf(" 4 . Transaction"); 

 ntf(" 5 . Save And Exit"); 

 (YELLOW); 

130,375,380); 60,375,160); 

line(175,165,375,165); 

r your choice :"); 

     vochers();      break; case 2: 

 case 3: 

   settings();      break; case 4: 

   tran();      break; case 5: 

   saveexit();    break; 

ult:  

Wrong Decision");  

  

r(); rm1(); 

  gotoxy(25,19);    gotoxy(25,21);  pri  gotoxy(23,23);  setcolor  rectangle(175,  line(175,1    line(175,340,375,340);   printf(" Ente  scanf("%d",&i);    switch(i)   {   case 1:           display();        break;                   defa    gotoxy(25,25);    printf("    delay(100);    clrscr();    cleardevice();    titleba    fo    break; 

Page 80: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 80 

 

 Password : "); 

k.pass)==0) 

,15); clrscr(); 

e(); ow2(); 

 

lse 

lrscr();

5,25); tlebar

tyle(1,0,3); 0,"Password Wrong"); 

oid ma

\\borlandc\\bgi"); Sbi.sbi","rb"))==NULL) 

  }; }  void password() {    char pas[25];   gotoxy(25,15);   printf("Enter the  gets(pas);   if(strcmp(pas,ban  {   gotoxy(25   cleardevic  sh  form1();  }   e  {   c    cleardevice();   gotoxy(2  ti ();   setcolor(RED);   settexts  outtextxy(400,25  password();   } }  v in() {   int gd=DETECT,gm;   FILE *stream;   clrscr();   initgraph(&gd,&gm,"c:  if((stream=fopen("  {    gotoxy(25,25); 

Page 81: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 81 

 

intf("Mising Files . . .");  delay(500);  exit(0); 

 fread(&bank,sizeof(bank),1,stream); tream); 

TM Code:

includeude  

nclude  <graphics.h> ude    <stdlib.h> 

<dos.h> <string.h> 

oid ma

oid ch ss();

   pr         }     fclose(s   show1();    password();    getch(); }  

 

 

 

 

 

 

A Users #      <stdio.

  <conio.h>h> 

#incl    #i#incl#include      

ude   #incl void check(); void password(); void check(); v in(); void accview(); v pa

Page 82: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 82 

 

pass[10]; 

no;     char name[30];      int age,sd,sm,sy;        char sex[5];      char stat[10]; ard; 

struct acc 

  float accno; char name[30],accpass[25],address[101],city[25]; float fix,ppno,balance; 

  char stat[5]; ccount;  titlebar() 

settextstyle(0,0,6); outtextxy(30,30,"SBI"); 

tex  Bank  Of  India"); 

x ,1);  Road ,Kerala , Kollam"); 

txy(270,65,"Pin code : 691001"); 0,500,100); 

ILE *stream; 

struct sbi {   int n;   char   float inter,fix; }bank; struct atm {        float accno,pp     

  }c

  

}avoid{   setcolor(BLUE);     setcolor(6);   set tstyle(0,0,2);   outtextxy(200,30,"State  setcolor(7);   sette tstyle(0,0  

outtextxy(230,50,"Chinakadaouttex

  line(100,10}  void file() { F

Page 83: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 83 

 

gotoxy(20,30); printf("Pleace Insert the ATM Card"); 

m=fopen("Sbi.sbi","a+b"))==NULL) 

  gotoxy(20,30); rintf(stderr,"File Missing"); 

sizeof(bank),1,stream); m=fopen("A:\Sbi.sbi","a+b"))==NULL) 

  gotoxy(20,30); printf("\tPleace Insert ATM Card . . ."); 

  } 

eof(card),1,stream); cc.sbi","a+b"))==NULL) 

  {   gotoxy(20,30); 

    printf("File Missing");  

 

 n=bank.n; i=1;i<n;i++) 

  fread(&account,sizeof(account),1,stream); if((account.accno==card.accno)&&(strcmp(account.stat,"Open")==0)) 

break;       }         } 

  }     } 

fclose(stream); 

int n,i,j;     if((strea  {      fp   else   {    fread(&bank,    if((strea    {          else     {     fread(&card,siz       if((stream=fopen("Sbia             }      else      {             for(          {                     {         password();                 

Page 84: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 84 

 

oid pa

leardev e(); tlebar(otoxy( ,15); 

); 

 :"); 

400,250,"Password Wrong"); 

ELLOW); (50,150,600,450); 

   }  v ssword() { char pass[25]; clrscr(); c icti ); g 20printf("Account Number     :%f",account.accnogotoxy(20,18); printf("Enter the Passwordscanf("%s",&pass); if(strcmp(account.accpass,pass)==0) check(); else {     setcolor(RED);     settextstyle(1,0,1);     outtextxy(    printf("\7");     delay(300);     main(); } }  void balance() { int i;   clrscr();   cleardevice();   titlebar();      clrscr();      cleardevice();      titlebar();      setcolor(Y     rectangle     delay(300); 

Page 85: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 85 

 

gotoxy(9,14);    printf("\7Acount Number     :%f",account.accno);    gotoxy(9,16); 

("Account Name      :%s",account.name);    gotoxy(9,18); 

 printf("Balance Amount    :%f",account.balance);  gotoxy(9,20);  printf("Receivable Amount :%f",account.balance‐bank.fix);  delay(500);  for(i=0;i<=10;i++) 

 setcolor(i); 

extstyle(0,0,2); lance View"); 

 delay(400);    nosound();    } 

 cleardevice();  titlebar(); gotoxy(25,10); 

u Bar ‐ Settings");  

 1 . Change Password"); 5,15); 

ount View"); 17); 

            printf                     {         sound(100);      sett     outtextxy(55,170,"Ba            check(); }  

void settings() {   int i;     clrscr();           printf(" \7Men  gotoxy(25,13);  printf("  gotoxy(2  printf(" 2 . Acc  gotoxy(25,  printf(" 3 . Go Back");   gotoxy(23,23);   setcolor(YELLOW);   rectangle(175,130,375,380);   line(175,160,375,160);   line(175,165,375,165); 

Page 86: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 86 

 

); ong Decision"); 

0); check(); 

  break; }; 

view() 

gotoxy(5,14); mber      :%f",account.accno); 

gotoxy(40,14); nt Open Date  :%d‐%d‐%d",card.sd,card.sm,card.sy); 

gotoxy(5,16); Account Name        :%s",account.name); 

gotoxy(5,18); tf("Passport Number     :%f",account.ppno); 

ddress             :%s",account.address); ,22); 

  line(175,340,375,340);   printf(" Enter your choice :");   scanf("%d",&i);   switch(i)   {   case 1:       chpass();        break;   case 2:        accview();        break;   case 3:        check();        break;   default:     gotoxy(25,25    printf("\7Wr    delay(30     } void acc{ int i;   clrscr();   cleardevice();   titlebar();           printf("Account Nu          printf("Accou          printf("          prin     gotoxy(5,20);      printf("A     gotoxy(5

Page 87: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 87 

 

ity                :%s",account.city); 

("Balance Amount      :%f",account.balance); elay(300); 

 for(i=0;i<=10;i++)  { 

 0); 

 settextstyle(0,0,2); ,170,"Account View"); 

0);  nosound(); 

ardevice(); setbkcolor(BLACK); 

r(4); circle(40,70,30); circle(130,70,30); rcle(100,130,60); 

0,250,100); le(70,220,25); 

duct By :"); 

     printf("C     gotoxy(5,24);      printf     d           setcolor(i);     sound(10        outtextxy(50     delay(40        }      check(); }  

void about() {   int i,j;   clrscr();   cle   setcolo    ci  circle(15  circ  circle(230,200,25);   circle(80,320,30);   circle(240,320,30);   circle(65,115,5);   circle(120,110,5);   circle(110,150,10);   for((int) i=1;i<=10;i++)   {   setcolor(i);   sound(100);   outtextxy(300,200,"Pro

Page 88: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 88 

 

Naeg No  : 6209"); 

25]; E *stream; 

clrscr();  

tlebar(); count.accno; fopen("Sbiacc.sbi","r+b"); 

ccount,sizeof(account),1,stream); t.accno==no)&&(strcmp(account.stat,"Open")==0)) 

1; i; ak; 

ct=0; 

 fseek(stream,(long)((ca‐1)*sizeof(account)),0); oxy(9,14); f("Enter Old Password       :"); 

  outtextxy(300,220,"    me    : Vinu David .A");   outtextxy(300,240,"   R  outtextxy(300,260,"   College : F M N C Kollam");   delay(300);   nosound();   }   check(); }  

void chpass() {   float no,balance;   int n,i,fact,ca;   char p1[25],p2[25],pass[  FIL    cleardevice();  ti   no=ac   stream=   n=bank.n;      for(i=1;i<n;i++)      {      fread(&a     if((accoun      {       fact=      ca=      bre      }      else       fa     }       if(fact==1)         {         got     print     scanf("%s",&p1); 

Page 89: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 89 

 

:"); 

xy(9,18); tf("Enter Conform Password   :"); 

 scanf("%s",&pass); (account.accpass,p1)==0)&&(strcmp(p2,pass)==0)) 

    {    strcpy(account.accpass,pass); 

 fwrite((char*)&account, sizeof(account),1, stream);    setcolor(RED); 

ttextstyle(1,0,2);  outtextxy(400,150,"Password Changed"); 

 }  else  {   setcolor(RED); 

(1,0,2); rd Error"); 

lay(1000); 

 settings(); 

cleardevice(); titleba

ccount.accno; 

     gotoxy(9,16);      printf("Enter New Password            scanf("%s",&p2);      goto     prin        if((strcmp           se        delay(1000);                   settextstyle      outtextxy(400,150,"Passwo      de     }       } }  

void widrow() {   float no,balance;   int n,i,fact,ca;   FILE *stream;   clrscr();      r();   no=a  stream=fopen("Sbiacc.sbi","r+b");    n=bank.n;      for(i=1;i<n;i++)      { 

Page 90: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 90 

 

t,sizeof(account),1,stream); ccount.stat,"Open")==0)) 

 

ream,(long)((ca‐1)*sizeof(account)),0); ,14); otal Balance Amount    :%f",account.balance); 

ount        :%f",account.balance‐bank.fix); 

ing Amount        :"); f",&balance); 

balance‐bank.fix)>=balance)  { 

   account.balance=account.balance‐balance;    fwrite((char*)&account, sizeof(account), 1, stream); 

}    else 

  setcolor(RED);   settextstyle(1,0,2);   outtextxy(400,150,"Amount Error");   delay(1000);  } 

oid check() 

     fread(&accoun     if((account.accno==no)&&(strcmp(a      {       fact=1;      ca=i;       break;       }      else       {       fact=0;       }      }       if(fact==1)         {      fseek(st     gotoxy(9     printf("T     gotoxy(9,16);      printf("Receviale Am     gotoxy(9,18);      printf("Widrow     scanf("%     if((account.                  {                     settings();    } }  

v

Page 91: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 91 

 

y"); 

gotoxy(25,17); printf(" Cash"); gotoxy(25,19); 

e :"); 

(); 

break; case 4:      about(); 

   break; 

{     int i;     clrscr();     cleardevice();     titlebar();   gotoxy(25,10);   printf(" \7Menu Bar");   gotoxy(25,13);   printf(" 1 . Balance Enquir  gotoxy(25,15);   printf(" 2 . Settings");       3 . Windrow     printf(" 4 . About Me");   gotoxy(25,21);   printf(" 5 . Exit");   gotoxy(23,23);   setcolor(YELLOW);   rectangle(175,130,375,380);   line(175,160,375,160);   line(175,165,375,165);   line(175,340,375,340);   printf(" Enter your choic  scanf("%d",&i);   switch(i)   {   case 1:        balance       break;   case 2:        settings();        break;   case 3:        widrow();             

Page 92: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 92 

 

case 5:      clrscr(); 

   cleardevice(); titlebar(); 

   delay(1000); gotoxy(15,15); 

\please Receive Your ATM Card"); delay(2000); 

break; 

 

(); ,25); 

("\7Wrong Decision"); ay(300); ck(); k; 

]; am,*f1,*f2; 

itgraph(&gd,&gm,"c:\\borlandc\\bgi"); 

tlebar

etch();

                             printf("              main();          default:     clrscr();    cleardevice();     titlebar    gotoxy(25    printf    del    che    brea  }; } void main() {   int gd=DETECT,gm;   char x[10  FILE *stre  in  clrscr();   cleardevice();   ti ();   file();   g   }  

 

 

Page 93: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 93 

 

 

 

 

SAMPLE SCREEN SHOTS 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Page 94: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 94 

 

 

Bank Users Window 

 

dministrator WindowA  

 

 

 

 

 

 

 

Page 95: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 95 

 

 

 

aiM n Menu 

 

 

 

Page 96: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 96 

 

Account Menu

  

 

 

 

 

 

 

Page 97: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 97 

 

 

 

 

 

Open Account 

 

 

 

 

 

 

 

 

 

Page 98: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 98 

 

 

 

Edit Record

   

Page 99: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 99 

enu 

 

 

 

 Display M

  

 

 

 

 

 

 

Page 100: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 100 

 

 

   

 

 

Bank Balance 

 

 

Page 101: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 101 

 

Account View

Page 102: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 102 

 

About me

 

 

 

 

Page 103: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 103 

 

 

 

 

Settings 

 

 

 

 

 

Page 104: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 104 

 

 

 

 

Change Password 

 

 

 

 

 

 

Page 105: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 105 

 

 

 

Transaction 

 

 

Page 106: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 106 

 

 

 Add Deposited  

 

 

Page 107: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 107 

 

 

Re‐Audit

Page 108: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 108 

ATM Account Viewer

Administrator Window 

 

 

 

 

 

 

 

Page 109: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 109 

 

 

 

Main Menu 

 

Page 110: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 110 

 

Balance Enquiry 

 

 

Page 111: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 111 

 

 

Settings 

 

 

 

Page 112: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 112 

Windrow Cash 

 

 

 

 

 

 

 

 

 

Page 113: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 113 

 

 

 

 

 

 

 

 

 

IBLIOGRAPHY 

 

 

 

 

 

 

 

 

 

 

 

 

Page 114: 14127080 Banking on ATM Card Using C Language

Banking On ATM Card 

 

F M N College, Kollam – IDE Study Centre  Page 114 

 

    

BIBLIOGRAPHY

  Programming  in   c                        ‐  Balaguruswamy 

2.   Introducing   c                       ‐    David S.  Platt; Paperback 

3.   System  Analysis  and  Design      ‐   Alias  M 

4. The  Analysis  Design  and 

Implementation of Information 

Systems               ‐ Henry C Lucas  

Software  Engineering  Concepts    ‐  Richard  E Fairley 

 

 

 

 

 

 

1.

5.