Skip to content

cody2094/challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Class Overview

This is a class that builds and outputs all possible sums given currency denominations where each denomination equals an arbitrary sum

Build and run procedures

Download this repository via Git and run composer on the package.

Below is a code sample displaying how to run this challenge... this can also be found in src/test_output.php

include('Challenge.php');
$challenge = new Challenge();
//build_possibilities with default values
$challenge->build_possibilities();

$challenge->change_currency("Coin,1.5,Arrowhead,3,Button,150");
$challenge->build_possibilities();

Tests

Run /vendor/bin/phpunit to run the PHPunit tests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages