#include <bits/stdc++.h>
using namespace std;
int main()
{
string s("092282");
cout << s[0];
if (s[0] < (char)9)
{
cout << "yesss";
}
}
In this text I am not able to understand how to compare string element which is numeric constant and a numeric.