#include <cctype> using namespace std; int main() { int Letters = 0,Digits = 0,Others = 0; char a; cin.get(a); while (a != '?') { if(isalpha(a)) { Letters++; } else if(isdigit(a)) { Digits++; } ...