+ 9
You can simply write in loop like this. No need to concat
cout << "Ra!";
I think this is happening because you defined size of char array 100 so maybe some special character adding in your output while concatinng. I don't know much about c++ so I maybe wrong here.