#include
#include
#include
#include
using namespace std;
Int main () {
char ch;
Cout<& lt;" Both please enter: ";
Cin> Ch;
while(ch!='@') {
If (islower (ch)) {
Cout
If (isupper (ch)) {
Cout
Cin> Ch;
};
Cout
system("pause");
} this is the code I wrote, but why is the value of the int type output rather than the type char
CodePudding user response:
cout<(char) ch - 32;