Skip to content

xzyang87/money

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Money

For showing differences between OO and FP

Problem to solve

Given discount rate is 20% and tax rate is 10%, calculate the final price for any given listing price. Discount can only be applied to items which their price is higher than 100, and the consumer must be able to know why the discount is not applicable.

How to run

./gradlew bootrun

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%