Implement a class that does string manipulation by overloading the following operators: <<, >>, = and ==. For example consider the following code:
example = “Microsoft”;
printf(“”example << 2” results in %sn“, example << 2);
In the above code the output would be “ftMicroso” which shows the last two characters of the string “Microsoft” rotated to the left of the string. Please note that state is maintained so two calls of example << 1 would give the same end result as calling example << 2 once. Consideration will be given to correctness, design, code readability as well as any unit testing. As part of a final solution please submit test cases you used to verify correctness in addition to any unit tests done.