C++语言判断字符是否为大写字母 1.运行程序,输入参数,结果如下。2.部分源代码 1.运行程序,输入参数,结果如下。 输入E,结果为1。 输入a,结果为0。 2.部分源代码 #include<iostream> using namespace std; bool isup(char ch) { ****** } void main () { char ch; cout<<"请输入一个大写字母,则输出为1.否则输出0.:"; cin>>ch; cout<<isup(ch)<<endl; }