Skip to content

Commit ba0dcd2

Browse files
committed
Fix grammar and code challenge
1 parent 7c42dcb commit ba0dcd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/boxed_primitives/challenges.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ void main() {
2828

2929
## Challenge 2.
3030

31-
Write a method which takes in a `Integer[]` representing
31+
Write a method which takes in an `Integer[]` representing
3232
a series of distances and prints out every distance
3333
followed by ` kilometers`.
3434

@@ -50,7 +50,7 @@ void printDistances(Integer[] distances) {
5050
}
5151
5252
void main() {
53-
printNames(new String[] {
53+
printDistances(new Integer[] {
5454
45,
5555
99,
5656
23

0 commit comments

Comments
 (0)