I want to learn how to write good code. Starting off with simple programs for now. So any suggestions regarding style, readability or more efficient ways of implementation, etc. would really be appreciated!#include <algorithm>#include <iostream>using namespace std;int main(int argc, char** argv) {  bool running = true;  while(running == true)  {    string input;    cout << [Enter 'exit' to exit the program]\n;    cout << Enter the text you want to reverse: ;    getline(cin, input);    if (input.compare(exit) == 0)    {      running = false;      break;    }    reverse(input.begin(), input.end());    cout << The reversed version of your text is:  << input << endl << endl;  }        return 0;}
Simple string reverse program in C++
c++;algorithm;strings