Repetition C++ String Class nalhareqi©2012 1 ‹#› string The string is any sequence of characters To use strings, you need to include the header The string is one of…