MCPcopy Create free account
hub / github.com/Rustam-Z/cpp-programming / Account

Class Account

Lab_11/Source.cpp:77–102  ·  view source on GitHub ↗

Program #3

Source from the content-addressed store, hash-verified

75
76// Program #3
77class Account
78{
79public:
80 Account()
81 {
82 cout << "Object is being Created" << endl;
83 name = "Rustam";
84 number = "123456789";
85 balance = 12345;
86 }
87 ~Account()
88 {
89 cout << "Object is being Deleted" << endl;
90 }
91 void Display()
92 {
93 cout << "Name: " << name << endl
94 << "Number: " << number << endl
95 << "Balance: " << balance << endl;
96 }
97
98private:
99 string name;
100 string number;
101 float balance;
102};
103
104// Program #4
105class Rectangle

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected