-
melpe
MELPe fixed point 2400/1200bps
- 2020-06-25 07:00:02下载
- 积分:1
-
account
设计一个名为Account类。这个类包含:
(1)一个名为id的int型数据域,表示账户的身份号(默认值为0)。
(2)一个名为balance的double型数据域,表示账户余额(默认值为0)。
(3)一个名为annualInterestRate的double型数据域,保存当前年利率(默认值为0)。
(4)一个无实参构造函数,创建一个默认账户。
(5)id、balance和annualInterestRate的访问器和更改器函数。
(6)一个名为getMonthlyInterestRate()的函数,返回月利率。
(7)一个名为withDraw的函数,从账户中支取指定金额。
(8)一个名为deposit的函数,向账户中存入指定金额。
画出类的UML图,实现类。编写一个测试程序,它创建一个Account对象,其ID为1122,账户余额为20000,年利率为4.5 。使用withDraw函数取出2500美元,使用deposit函数存入3000美元,然后输出账户余额、月利率和账户创建时间。(Design a class named Account. This class includes: (a) a named data type int id field that indicates the account identification number (default is 0). (2) a double-called balance of data fields, which means that the account balance (default is 0). (3) a double type named annualInterestRate of data fields, save the current interest rate (default is 0). (4) a no-argument constructor creates a default account. (5) id, balance and annualInterestRate access control and change control functions. (6) a named getMonthlyInterestRate () function returns a monthly rate. (7) a function named withDraw, drawn from the account specified amount. (8) a function called deposit to the account into a designated amount. Draw a UML class diagram, the implementation class. Write a test program that creates an Account object, its ID is 1122, the account balance is 20,000, an interest rate of 4.5 . Use withDraw function out $ 2,500, $ 3,000 deposit with deposit function, and then outputs the account balance, m)
- 2013-06-01 13:21:54下载
- 积分:1
-
PQ3
Right solution for PQ3!!! Total point is 100 points
- 2011-04-30 21:44:52下载
- 积分:1
-
tubuchuanyue
说明: 徒步穿越荒漠数学模型
研究的是徒步穿越荒漠耗资及行程时间安排的最优化问题(across the desert on foot mathematical model study of crossing the desert on foot and the cost of the trip scheduling optimization problems)
- 2020-09-10 22:38:06下载
- 积分:1
-
OnscreenKeyboard_src
一个模拟鼠标键盘输入的例子(-An example about how to similar to the input of mouse and keyboard)
- 2003-10-21 21:22:59下载
- 积分:1
-
check_counter
vc查看计数器值的程序源码,希望对大家有所帮助(vc view the source code program counter value, we hope to help)
- 2011-06-05 23:15:12下载
- 积分:1
-
TETRIS
此文档为visual c++平台实现俄罗斯方块的部分参考代码。已经通过调试通过。(This document is visual c++ platform Tetris part reference code. Has passed through debugging.)
- 2013-10-23 21:46:26下载
- 积分:1
-
ansyschangjianwentihuizong
里面汇总了一些常见的ansys中遇到的问题或错误,仅供参考(ansys FAQ summary, there are some problems often encountered error for reference purposes only)
- 2015-04-30 09:20:50下载
- 积分:1
-
BOOK MANAGEMENT SYSTEM PROJECT SOURCE CODE (1)
book management system project
- 2018-02-08 16:26:19下载
- 积分:1
-
20170422
贪吃蛇游戏是经典手机游戏,既简单又耐玩。通过控制蛇头方向吃蛋,使得蛇变长,从而获得积分。(Snake game is a classic mobile phone game, which is simple and playable. By controlling the direction snakeheads eat eggs, the snake long, so as to obtain the integral.)
- 2017-04-22 11:33:00下载
- 积分:1