Skip to content

The requirement is to build a feature to take in a balance and convert it into denominations (bills/coins). The intent is to convert the balance into the least number of bills/coins. The input balance is expressed as the lowest unit of currency (e.g. pennies for USD). Examples (USD): Given the balance 87, the function will return 3 Quarter, 1 Di…

Notifications You must be signed in to change notification settings

sureshbh11/balance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

balance

The requirement is to build a feature to take in a balance and convert it into denominations (bills/coins). The intent is to convert the balance into the least number of bills/coins. The input balance is expressed as the lowest unit of currency (e.g. pennies for USD). Examples (USD): Given the balance 87, the function will return 3 Quarter, 1 Dime, 2 Penny coins. Given the balance 287, the function will return 2 Dollar, 3 Quarter, 1 Dime, 2 Penny coins.

About

The requirement is to build a feature to take in a balance and convert it into denominations (bills/coins). The intent is to convert the balance into the least number of bills/coins. The input balance is expressed as the lowest unit of currency (e.g. pennies for USD). Examples (USD): Given the balance 87, the function will return 3 Quarter, 1 Di…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages