C ++ program to count greater characters on right side of every character .
#include <bits/stdc++.h> NEW_LINE using namespace std ; #define MAX_CHAR  26 NEW_LINE void printGreaterCount ( string str ) { int len = str . length ( ) ;