CodePudding user response:
Reference:# include
#include
using namespace std;
Int main ()
{
Int low=0, upp=0;
Char STR [10002].
Cin. Getline (STR., 10002, '#');//end with a '#' sign
for(int i=0; STR [I]; I++) {
If (STR [I] & gt;='a' & amp; & STR [I]The else
If (STR [I] & gt;='A' & amp; & STR [I]}
cout<" The lower: "& lt;
return 0;
}
//What?
//the Draw me a sheep... #
//the lower: 14, upper: 2
//please press any key to continue..
CodePudding user response:
If (STR [I]=='? ')
break;