Aa

Text size

?

Map / Arrays / 6

🐞 Debug

Steps past the end

The program should add all three step counts and print "total = 18300", but it crashes. Fix the loop.

  • for
  • .length
  • a[i]