Skip to content

this program gives the perfect amount of change given a set of coin values and a target value.

Notifications You must be signed in to change notification settings

OliRosHow/PerfectChange

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PerfectChange

this program gives the perfect amount of change given a set of coin values and a target value.

to use this program:

  1. set your path to the java bin folder
  2. javac ChangeDriver.java
  3. java ChangeDriver <the types of coins ending with a 1 then after the 1 the change you would like to make>

example:

java ChangeDriver 50 25 10 1 34

About

this program gives the perfect amount of change given a set of coin values and a target value.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages