Basic Programs



Classes and Objects

         • Get function to accept value of the data members.
         • Display function to display values of data members.
         • Total function to add marks of all 5 subjects and Store it in the data members 
            named total.
          i)          Name of account.
          ii)         Account number.
          iii)        Type of account
          iv)        Balance
         The class also has following member functions.
          i)          A function to assign initial value.
          ii)         A function to deposit an amount.
          iii)        A function to withdraw the amount after checking balance.
          iv)        A function to display the account information.
         Write a menu driven program for bank system