Skip to content

Commit c86b217

Browse files
author
fmoko
authored
Created consistent money unit (#258)
Created consistent money unit
2 parents 0d1f1a1 + fd57f8f commit c86b217

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

exercises/functions/functions4.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Make me compile! Execute `rustlings hint functions4` for hints :)
33

44
// This store is having a sale where if the price is an even number, you get
5-
// 10 (money unit) off, but if it's an odd number, it's 3 (money unit) less.
5+
// 10 Rustbucks off, but if it's an odd number, it's 3 Rustbucks off.
66

77
// I AM NOT DONE
88

exercises/test1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// - Variables
44
// - Functions
55

6-
// Mary is buying apples. One apple usually costs 2 dollars, but if you buy
6+
// Mary is buying apples. One apple usually costs 2 Rustbucks, but if you buy
77
// more than 40 at once, each apple only costs 1! Write a function that calculates
88
// the price of an order of apples given the order amount. No hints this time!
99

0 commit comments

Comments
 (0)