搜索资源列表
6
- 编写一个程序模拟支票输出.程序要求用户输入日期,姓名和 //* 支票的数量,然后模拟支票的形式输出如下信息,例如: //* 日期:2004年3月26日 //* 姓名:张三 RMB1920.68 //* 人民币:壹仟玖佰贰拾元陆角捌分 //* //* 注意:假设输入的金额中,最多自由两位小数. //* 输入有效性检验:输入金额的数量不能大于RMB10000.-Simulation of the preparation of a progra
wangrong31str
- 表达式求值,通过栈,计算加减乘除,可以做小数,整数负数等运算-Expression is evaluated, through the stack, calculate addition and subtraction multiplication and division, can do decimals, negative integers such as computing
C
- 2.1 C++的輸出物件cout 2.2 cout物件的格式化函式 2.2.1 欄位寬設定- cout.width(n) setw( ) 2.2.2 精確度設定-cout.precision( ) setprecision( ) 2.2.3 進位制設定-dec, hex, oct 2.2.4 指定多餘格數字元-cout.fill( ) setfill( ) 2.2.5 小數位數設定-cout.setf( ) 2.3 C++的輸入物件cin -2.1 C++