登录
首页 » Windows开发 » 硬币找钱问题C++

硬币找钱问题C++

于 2022-08-19 发布 文件大小:309.57 kB
0 276
下载积分: 2 下载次数: 1

代码说明:

该程序实现的是硬币找钱问题,即设有6 种不同面值的硬币,用这些面值的硬币来购物和找钱。购物时可以使用的各种面值的硬币个数存于数组Coins[1:6]中,商店里各面值的硬币有足够多。计算在1 次购物中需要使用的最少硬币组合。程序是基于VC++6.0平台实现的。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 一款自编的具有计算器功能的源码, 类似Windows计算器功能
    一款自编的具有计算器功能的源码, 类似Windows计算器功能-A self-function calculator with source code, similar to Windows calculator function
    2022-09-04 12:45:03下载
    积分:1
  • Number of EWB circuit schematic diagram and procedures in the hope to everyone h...
    一些EWB的电路原理图和程序,希望对大家有帮助。-Number of EWB circuit schematic diagram and procedures in the hope to everyone helpful.
    2023-04-11 08:45:03下载
    积分:1
  • MyGiftPiano_32位汇编在WINDOWS环境下做成的一个钢琴模拟软件 这是我送给我一个好友的一个作品,是在学习自学了32位汇编语言后做 的。比较简单,...
    MyGiftPiano_32位汇编在WINDOWS环境下做成的一个钢琴模拟软件 这是我送给我一个好友的一个作品,是在学习自学了32位汇编语言后做 的。比较简单,效果却很不错!内有源代码、MAKE工具、MAKEFILE文件 等说明。值得一读。-MyGiftPiano_is a 32 bit assebler software using for piano simulation in Windows system. This is a project after I learned the 32 bits assembler language and is a gift to my best friend. It s simple but has perfect effect. The software itself include source code, the MAKE tool, MAKEFILE documents ect. It s worth a try!
    2022-07-26 13:36:03下载
    积分:1
  • 已知数组A包含15个互不相等的整数,数组B包含20个互不相等的整数。试编制一程序把既在A中又在B中出现的整数存放于数组C中。 进一步要求数组A和数组B中的数...
    已知数组A包含15个互不相等的整数,数组B包含20个互不相等的整数。试编制一程序把既在A中又在B中出现的整数存放于数组C中。 进一步要求数组A和数组B中的数据用键盘输入,且数据个数不定(最大个数受限制)。-Known to the array A contains 15 mutually exclusive, such as integer, array B contains 20 separate integer and so on. Try to develop a procedure in both A and B appear in the integer stored in an array in C. Further requested that the array A and array B data in the keyboard input, and the number of variable data (maximum number of restricted).
    2023-04-06 05:15:04下载
    积分:1
  • 在Eclipse中用JDBC连接Sql_Server_2005
    在Eclipse中用JDBC连接Sql_Server_2005文档,在Eclipse中用JDBC连接Sql_Server_2005文档,在Eclipse中用JDBC连接Sql_Server_2005文档,在Eclipse中用JDBC连接Sql_Server_2005文档,在Eclipse中用JDBC连接Sql_Server_2005文档
    2022-03-30 11:10:01下载
    积分:1
  • 实现对PE文件的相关操作。可以对文件的图标,节,内容等进行操作...
    实现对PE文件的相关操作。可以对文件的图标,节,内容等进行操作-The achievement of the relevant documents on the operation of PE. Icon on the document, section, content, etc. to operate
    2022-04-24 11:24:17下载
    积分:1
  • 这是一个我用VB+SQL为公司编的档案管理系统,目前在用。
    这是一个我用VB+SQL为公司编的档案管理系统,目前在用。-I use VB to SQL companies of file management systems, currently in use.
    2022-05-22 07:33:38下载
    积分:1
  • 求阶乘算法(0
    求阶乘算法(0---10000)标准C++语言控制台应用程序 可能很多人都曾经想过要实现一些比较大的数的阶乘,但是C++中提供的标准数据类型其存储空间太小,根本无法实现。我们可以通过其他方法来实现,本程序用一个很简单的算法实现数的阶乘,程序很短,也很简单,各处都有注释,相信大家很容易就可以看懂,下载源码后在VC6.0中打开编译后即可运行,程序经少许改动可以实现更大的数的阶乘,有兴趣的读者在看完本程序后可一动手试试,其乐无穷!!希望这个程序能给大家一点帮助-The arithmetic for counting factorial(0-10000) This is a standard C++ language console application, many people could want to relize the factorial of some large numbers, but the memory space of the standard data type provided by the C++ is too small, so it can not realize at all. But we can realize it by other method, the program realize the factorial of the number you give by a simple arithmetic ,this is a short and easy program, and there are remarks everywhere, I believe that everyone can easily understand it, after downloading the sound code you can open it in VC6.0, then edit and run it. you also can change something to realize the factorial of a larger number, the reader who is interesting in it can have a try, there are more happiness in it!! At last,
    2023-02-22 10:45:03下载
    积分:1
  • 碰撞检测代码
    碰撞检测代码-Collision detection code
    2023-04-04 23:35:03下载
    积分:1
  • 对带宽进行测量的软件,精度高,时间快是其特点.
    对带宽进行测量的软件,精度高,时间快是其特点.-Bandwidth measurement software, high precision, the time is characterized by fast.
    2023-05-15 00:45:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载