CodePudding user response:
If the input is a string, judging by the charactersCodePudding user response:
# includeusing namespace std;
Int main () {
Char c;
While (cin> C) {
If (c>='A' & amp; & C<='Z') {
Cout
Else if (c>='a' & amp; & C<) {
='y'C=c + 1;
Cout
Else if (c=='z') {
Cout<& lt;" A "& lt;
The else {
Cout<& lt;" The error "& lt;
}
}
CodePudding user response:
# include
using namespace std;
Int main ()
{
Char ch;
While (cin & gt;> Ch)
{
If (isupper (ch))
Cout & lt;Else if (islower (ch))
Cout & lt;The else
Cout & lt; <"Error!!!!! "& lt;}
return 0;
}