File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments