......
using namespace std; int main() { char a[101]; fgets(a,101,stdin); int j=0; for(int i=0;i<strlen(a);i) j; cout<<j; return 0; } ......