What is wrong with this switch statement? (C++)?
Also at:http://pastebin.com/m89z4RhP #include #include #include utilizing namespace std; int main() char line81; char* ch_ptr; int digit_count= 0, lower_count= 0, punct_count= 0, space_count= 0, upper_count= 0, total_chars; cout << "Enter a distinct characters:" <<endl; cin.getline(line, 81); ch_ptr = line; when (ch_ptr! = ”) switch (1) instance 1: when (isdigit(*ch_ptr)) ++digit_count; ++ch_ptr; …