![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
个人银行账户管理程序c++源码转码Java
一、二次试验
weixin_43721225
这个作者很懒,什么都没留下…
展开
-
9_16
C++源码://9_16.cpp#include "account.h"#include "Array.h"#include <iostream>using namespace std;int main() { Date date(2008, 11, 1); //起始日期 Array<Account *> accounts(0); //创建账户数组,元素个数为0 cout << "(a)add account (d)deposit (w)withdra原创 2020-11-07 16:25:16 · 139 阅读 · 0 评论 -
8_8
C++源码://8_8.cpp#include "account.h"#include <iostream>using namespace std;int main() { Date date(2008, 11, 1); //起始日期 //建立几个账户 SavingsAccount sa1(date, "S3755217", 0.015); SavingsAccount sa2(date, "02342342", 0.015); CreditAccount ca(date,原创 2020-11-07 15:43:07 · 108 阅读 · 0 评论 -
7_10
C++源码://7_10.cpp#include "account.h"#include <iostream>#include<stdio.h>using namespace std;int main() { Date date(2008, 11, 1); //起始日期 //建立几个账户 SavingsAccount sa1(date, "S3755217", 0.015); SavingsAccount sa2(date, "02342342", 0.015)原创 2020-11-02 21:18:22 · 139 阅读 · 0 评论 -
6_25
C++源码://6_25.cpp#include "account.h"#include <iostream>#include <stdio.h>using namespace std;int main() { Date date(2008, 11, 1); //起始日期 //建立几个账户 SavingsAccount accounts[] = { SavingsAccount(date, "S3755217", 0.015), SavingsAccoun原创 2020-11-02 20:44:12 · 100 阅读 · 0 评论 -
5_11
C++源码://5_11.cpp#include "account.h"#include <iostream>using namespace std;int main() { //建立几个账户 SavingsAccount sa0(1, 21325302, 0.015); SavingsAccount sa1(1, 58320212, 0.015); //几笔账目 sa0.deposit(5, 5000); sa1.deposit(25, 10000); sa0.de原创 2020-11-02 19:46:58 · 105 阅读 · 0 评论 -
4_9
C++源码://4_9.cpp#include <iostream>#include <cmath>using namespace std;class SavingsAccount { //储蓄账户类private: int id; //账号 double balance; //余额 double rate; //存款的年利率 int lastDate; //上次变更余额的时期 double accumulation; //余额按日累加之和 /原创 2020-11-02 19:21:52 · 81 阅读 · 0 评论