File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ int main() {
17
17
DontCopyMe collection[10 ];
18
18
19
19
// 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.
21
22
// Verify the output of the program before and after you do this.
22
23
23
24
Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ int main() {
17
17
DontCopyMe collection[10 ];
18
18
19
19
// 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.
21
22
// Verify the output of the program before and after you do this.
22
23
23
24
for ( int i = 0 ; i<10 ; ++i ) {
You can’t perform that action at this time.
0 commit comments