You still have 2 more lines for (int i = 0; i <= 100; i++) which need to be fixed as well
for (int i = 0; i <= 100; i++)