intmain() { string s; getline(cin, s); int res = 0; for (int i = 0; i < s.length(); i++) if (s[i] >= '0' && s[i] <= '9') res += s[i] - '0'; cout << res << endl; return 0; }
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments