Posts

Showing posts from March, 2021

Bank Management System in CPP

Image
  Subscribe Code.Circle Source Code: #include<iostream> #include<fstream> #include<cctype> #include<iomanip> using namespace std; class account { int acno; char name[50]; int deposit; char type; public: void create_account(); void show_account() const; void modify(); void dep(int); void draw(int); void report() const; int retacno() const; int retdeposit() const; char rettype() const; }; void account::create_account() { system("CLS"); cout<<"\n\t\t\tEnter the Account No. : "; cin>>acno; cout<<"\n\n\t\t\tEnter the Name of the Account holder : "; cin.ignore(); cin.getline(name,50); cout<<"\n\t\t\tEnter Type of the Account (C/S) : "; cin>>type; type=toupper(type); cout<<"\n\t\t\tEnter The Initial amount : "; cin>>deposit; cout<<"\n\n\t\t\tAccount Created.."; } void account::show_account() const { cout<<...