Adding pricing calculator

This commit is contained in:
2025-04-14 18:20:31 -05:00
parent f2240b1c38
commit 0ef9b90bcd
5 changed files with 115 additions and 0 deletions

16
pricingCalculator/main.go Normal file
View File

@@ -0,0 +1,16 @@
package main
import (
"example.com/price-calculator/prices"
)
func main() {
taxRates := []float64(0, 0.7, 0.1, 0.15)
for _, taxRate := range taxRates {
priceJob := prices.NewTaxIncludedPriceJob(taxRate)
priceJob.Process()
}
fmt.Println(result)
}