#include <iostream>
using namespace std;

class Account
{
public:
    int accno;                   // instance-level
    string name;                 // instance-level
    static float rateOfInterest; // class-level
    Account(int accno, string name)
    {
        this->accno = accno;
        this->name = name;
    }
    void display()
    {
        cout << accno << " " << name << " " << rateOfInterest << endl;
    }
};

float Account::rateOfInterest = 6.5;
int main(void)
{
    Account a1 = Account(201, "Joe");
    Account a2 = Account(202, "Mary");
    a1.display();
    a2.display();
}