#include #include #include #include // For reverse algorithmusing namespace std;int main(){ string string1 = "abc"; reverse(string1.begin(), string1.end()); assert (string1 == "cba"); return 0;}