文件名称:saving
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:993byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
编写一个驱动程序来测试SavingAccount类。实例化SavingAccount类的两个对象saver1和saver2,余额分别为2000.00和3000.00。将annualInterestRate设置为3 ,然后计算月利率并打印每个存款者的新余额。接着再将annualInterestRate设置为4 ,计算下一个月的利息并打印每个存款者的新余额。
示例测试程序请参看给出的代码。
-Write a driver program to test SavingAccount class. SavingAccount class instantiated two objects saver1 and saver2, the balance of 2000.00 and 3000.00, respectively. The annualInterestRate set to 3 , and then calculate the monthly interest and print the new balance of each depositor. Then then annualInterestRate set to 4 next month' s interest calculation and print the new balance of each depositor. See sample test program code is given.
示例测试程序请参看给出的代码。
-Write a driver program to test SavingAccount class. SavingAccount class instantiated two objects saver1 and saver2, the balance of 2000.00 and 3000.00, respectively. The annualInterestRate set to 3 , and then calculate the monthly interest and print the new balance of each depositor. Then then annualInterestRate set to 4 next month' s interest calculation and print the new balance of each depositor. See sample test program code is given.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
SavingAccount.h
savingaccounttest.cpp
savingaccounttest.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.