I created a simple bank account program before. Nothing much, Take it edit it, But leave credit for me. 
Here is the accounts.h file.
Here is the accfuns file.
Here is the accounts file.

Here is the accounts.h file.
Code:
class cust_acc
{
private:
float bal;
int acc_num;
public:
void setup();
void lodge(flost);
void withdraw(float);
void balance();
}
Code:
/*
*This was created By RealTimeModding
* program file 'accfunc.cpp'
* define 'cust_acc' member functions
*/
#include <iostream>
using namespace std;
#include 'accounts.h'
//
//custom_account member functions
//
void cust_acc::setup()
{
cout << "enter number of account to be opened: ";
cin >> acc_num;
cout << "enter initial balance: ";
cin >> bal;
cout << "customer account" << acc_num
<< "created with balance" << bal << endl;
}
void cust_acc::lodge(float lodgement}
{
bal += lodgement;
cout << "lodgement of " << lodgement << "accepted " << endl;
}
void cust_acc::withdraw(float with)
{
if(bal > with)
{
bal = with;
cout << "withdrawal of" << with
<< "granted" << endl;
return;
}
cout << "insufficent balance for withdrawal of"<< with << endl;
cout << "withdrawal of" << bal << "granted" << endl;
bal = (float)0;
}
void_cus_acc:balance()
{
cout << "balance of account is" << bal << endl;
}
Here is the accounts file.
Code:
/*
*This was created by ReaaTimeModding
* program file 'accounts.cpp'
*drievs the 'cust_acc' class
*/
#include <iostream>
using namespace std;
#include "accounts.h"
int main()
{
cust_acc a1;
a1.setup();
a1.lodge(250.00);
a1.balance();
a1.withdraw(500.00);
a1.balance();
}