文件名称:problem4
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.38kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
从键盘上输入一件商品价格(0.01-5.00元)。如果支付5元,给出一种找零方案,使得所找纸币及硬币的个数最少。例如,输入物品价格1.68元,给出找零方案2元1张,1元1张,2角1个,1角1个,2分1个。(可找币种类包括所有发行的纸币和硬币)。-Input from the keyboard on a commodity price ($ 0.01-5.00). If you pay $ 5, gives a change for the program, so that at least the number of notes and coins to find. For example, enter the item price 1.68 yuan, a change for the program is given $ 1, 20 cents a, an angle of 1, 2 1. (Available to find coins species including all issued notes and coins).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
problem3.java
problem4.java
problem4.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.