文件名称:bankaccount2
介绍说明--下载内容均来自于网络,请自行研究使用
设计一个Person类,该类有数据成员name(姓名),ID(身份证号)等,成员函数实现对相关信息的录入和显示,要包含构造函数和析构函数;
设计一个BankAccount(银行帐户)类,该类有数据成员personInfo(帐户所有人信息),balance(帐户余额),interest_rate(帐户的利率)。其中personInfo为Person类类型,成员函数实现对帐户相关数据的初始化,并将帐户信息显示出来。
-Design a Person class with data members name (name), ID (identification number), etc., to achieve the member function entry and display relevant information, to include constructors and destructors design a BankAccount (bank account) class with data members personInfo (account holder information), balance (account balance), interest_rate (account rates). Which personInfo for the Person class type member function implements the initialization data to the account, and the account information is displayed.
设计一个BankAccount(银行帐户)类,该类有数据成员personInfo(帐户所有人信息),balance(帐户余额),interest_rate(帐户的利率)。其中personInfo为Person类类型,成员函数实现对帐户相关数据的初始化,并将帐户信息显示出来。
-Design a Person class with data members name (name), ID (identification number), etc., to achieve the member function entry and display relevant information, to include constructors and destructors design a BankAccount (bank account) class with data members personInfo (account holder information), balance (account balance), interest_rate (account rates). Which personInfo for the Person class type member function implements the initialization data to the account, and the account information is displayed.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
bankaccount2.txt