Skip to content

Commit 8d139cb

Browse files
authored
[freelancer-rates] Tidy up instructions, syncing wording across cpp, elixir and x86-64-assembly (#1042)
1 parent 7315f0f commit 8d139cb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎exercises/concept/freelancer-rates/.docs/instructions.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Discounts are modeled as fractional numbers representing percentages, for exampl
1414

1515
## 1. Calculate the daily rate given an hourly rate
1616

17-
Implement a function called `daily_rate` to calculate the daily rate given an hourly rate as a parameter.
17+
Implement a function called `daily_rate` to calculate the daily rate given an hourly rate as an argument.
1818
The contract defines that a day has 8 billable hours.
1919

2020
```cpp
@@ -27,7 +27,7 @@ The returned daily rate should be of type `double`.
2727
## 2. Calculate a discounted price
2828
2929
Implement a function `apply_discount` to calculate the price after a discount.
30-
It should accept two parameters: the original price and the discount rate in percent.
30+
It should accept two arguments: the original price and the discount rate in percent.
3131
3232
```cpp
3333
apply_discount(150, 10)
@@ -39,7 +39,7 @@ The returned value should always be of type `double`, not rounded in any way.
3939
## 3. Calculate the monthly rate, given an hourly rate and a discount
4040

4141
Implement a `monthly_rate` function to calculate the discounted monthly rate.
42-
It should have two parameters, an hourly rate and the discount in percent.
42+
It takes two arguments, an hourly rate and the discount in percent.
4343

4444
```cpp
4545
monthly_rate(77, 10.5)

0 commit comments

Comments
 (0)