For loop discussion

微信截图_20170812162426

Here is my code and it looks run properly. I would really appreciate if you can give me some suggestions.

Looks good, but adding “endl” inside for loop makes the program much more clear to look at!