Skip to content

akh5113/Making-Change-Dynamic-Programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS325-HW3

Anne Harris CS 325 - 400 Homework 3 4/22/2018

This file will execute with using numbers from a text file called "amount.txt". It will read this file in the format: [coin1, coin2, ... , coinN] [total] Where the lines alternate from a list of coin denominations seperated by a space, then the following line will have the total amount needed to make change for.

To run this file on flip, include the .py file in the same folder as amount.txt and run "python3 Homework3.py" on the command line on flip.

This program creates a text file that contains the output, "change.txt". The outupt file will conain the information from the input file, "amount.txt", and then an additional line that shows the number of each coin needed. [coin1, coin2, ... , coinN] [total] [num1, num2, ... , numN]

About

Making Change Dynamic Programming Implemenation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages