Skip to content

Commit 46f4e65

Browse files
committed
[loopsRefsAuto] Clarify a task.
1 parent a8fe849 commit 46f4e65

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

exercises/loopsRefsAuto/loopsRefsAuto.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ int main() {
1717
DontCopyMe collection[10];
1818

1919
// Task 1:
20-
// Write a for loop that initialises each struct's resultA and resultB with ascending integers.
20+
// Write a for loop that initialises resultA and resultB for each element in the above array
21+
// with sensible numbers.
2122
// Verify the output of the program before and after you do this.
2223

2324

exercises/loopsRefsAuto/solution/loopsRefsAuto.sol.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ int main() {
1717
DontCopyMe collection[10];
1818

1919
// Task 1:
20-
// Write a for loop that initialises each struct's resultA and resultB with ascending integers.
20+
// Write a for loop that initialises resultA and resultB for each element in the above array with ascending integers.
21+
// with sensible numbers.
2122
// Verify the output of the program before and after you do this.
2223

2324
for ( int i = 0 ; i<10 ; ++i ) {

0 commit comments

Comments
 (0)