Skip to content

Commit ee84171

Browse files
authored
Update 4-objects-and-references.md
Changed spelling of 'mean' to 'meal'
1 parent a9ba78b commit ee84171

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data/part-5/4-objects-and-references.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,13 +1305,13 @@ public class PaymentTerminal {
13051305

13061306
public double eatAffordably(double payment) {
13071307
// an affordable meal costs 2.50 euros
1308-
// increase the amount of cash by the price of an affordable mean and return the change
1308+
// increase the amount of cash by the price of an affordable meal and return the change
13091309
// if the payment parameter is not large enough, no meal is sold and the method should return the whole payment
13101310
}
13111311

13121312
public double eatHeartily(double payment) {
13131313
// a hearty meal costs 4.30 euros
1314-
// increase the amount of cash by the price of a hearty mean and return the change
1314+
// increase the amount of cash by the price of a hearty meal and return the change
13151315
// if the payment parameter is not large enough, no meal is sold and the method should return the whole payment
13161316
}
13171317

0 commit comments

Comments
 (0)