- Changed loop condition from 'i < length - 1' to 'i < length' - Now includes last element in sum - Tests pass: '1,2' returns 3, '1,2,3' returns 6 |
||
|---|---|---|
| .. | ||
| bowling_game.dart | ||
| gilded_rose.dart | ||
| roman_numerals.dart | ||
| string_calculator.dart | ||
- Changed loop condition from 'i < length - 1' to 'i < length' - Now includes last element in sum - Tests pass: '1,2' returns 3, '1,2,3' returns 6 |
||
|---|---|---|
| .. | ||
| bowling_game.dart | ||
| gilded_rose.dart | ||
| roman_numerals.dart | ||
| string_calculator.dart | ||