Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
ch19_4.cpp
Package: C.zip [view]
Upload User: gzy2011
Upload Date: 2021-02-09
Package Size: 20k
Code Size: 0k
Category:
Compress-Decompress algrithms
Development Platform:
Visual C++
- //ch19_4.cpp
- #include"iostream.h"
- void fn(float interest,float amount)
- {
- cout<<"RMB amount= ";
- cout.precision(2); //置有效位数位2位
- cout<<amount;
- cout<<"nthe interest=";
- cout.precision(4); //置有效位数位4位
- cout<<interest<<endl;
- }
- void main(void)
- {
- float f1=29.41560067f;
- float f2=12.567188f;
- fn(f1,f2);
- }