【文件属性】:
文件名称:c++编程ATM自动取款机
文件大小:9KB
文件格式:CPP
更新时间:2016-06-28 12:15:00
C++ ATM 自动取款机 ATM取款机
/*用C++实现ATM取款机的基本功能*/
# include
# include
# include //http://baike.baidu.com/view/1347718.htm
# include //头文件——等待显示函数
# include
using namespace std;
class account{
private:
int number; //账号
string password; //密码
string name; //姓名
double blance; //账户余额
public:
account(){};
/*account(int nu,string p,string na,double b){
number=nu;
password=p;
name=na;
blance=b;
}*/
void account1(int nu,string p,string na,double b){
number=nu;
password=p;