I've been giving the begginer exercises located here http://www.cplusplus.com/forum/articles/12974/ a go, I've been on the first exercise for a little while and while it does as asked I have a problem when I input data that the program doesn't recognise, at least thats what I think the problem is.
When I enter numbers it is fine, but as soon as I enter a letter the loop seems to mess up and the console just repeats the text from line 15 and line 48 over and over again until I close it.
I've fiddled around for quite a while trying to move where the loop ends and trying different things and came up with nothing, probably something very simple I'm missing , I've searched around different sites and haven't been able to find a similar problem, any advice on where i'm going wrong would be apreciated.