SavaOrGamble
Wallet 

所属分类:人工智能/神经网络/深度学习
开发工具:Visual C++
文件大小:2KB
下载次数:4
上传日期:2011-12-11 13:21:38
上 传 者zhyl8157121
说明:  no intro
( This exercise used to practice a large-scale program is divided into several source code files. Program functions as follows: choose the money to the bank s fixed deposit account or take gambling. Program has been partially completed, but you need to write the missing header files and complete bank.c and used to display the main menu selection function.  Wallet contents of the file with the function walletPrintBalance and walletPay to achieve. In order to facilitate the classification code and operation requirements of the parameters are defined as the wallet Wallet type (Hint: Use typedef), Wallet is really just another name for double-precision type, the parameter should contain the amount of money (in euros). In order to compile, you must wallet.h file contains the following statement: typedef double Wallet  In the main program will initialize the wallet for the 100 €: Wallet w = 100.0  bank interest rate paid to consumers on a regular basis)

文件列表:
bank.c (129, 2011-11-10)
bank.h (96, 2011-11-10)
gamble.c (246, 2011-11-10)
gamble.h (99, 2011-11-10)
main.c (1499, 2011-11-10)
util.c (220, 2011-11-10)
util.h (153, 2011-11-10)
wallet.c (401, 2011-11-10)
wallet.h (175, 2011-11-10)

近期下载者

相关文件


收藏者