line 41 - i goes all the way up to size (100) even if the text entered is shorter. The count should only go the length of the text actually entered.
Since you've included <string>, you could use a string - unless you're required to use character arrays?
I see the problem with line 41, any idea what I can add to make it so it only takes the length of the entered string?