File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
exercises/concept/freelancer-rates/src Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,10 @@ dailyRate :: Double -> Double
4
4
dailyRate = error " Implement this function."
5
5
6
6
applyDiscount :: Double -> Double -> Double
7
- applyDiscount amount disscount = amount * ( 1 - disscount / 100 )
7
+ applyDiscount = error " Implement this function. "
8
8
9
9
monthlyRate :: Double -> Double -> Int
10
- monthlyRate hourlyRate discount = ceiling (applyDiscount (dailyRate hourlyRate * 22 ) discount)
10
+ monthlyRate = error " Implement this function. "
11
11
12
12
daysInBudget :: Int -> Double -> Double -> Double
13
- daysInBudget budget hourlyRate discount =
14
- fromIntegral (floor (fromIntegral budget / applyDiscount (dailyRate hourlyRate) discount * 10 )) / 10
13
+ daysInBudget = error " Implement this function."
You can’t perform that action at this time.
0 commit comments