using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LIANXI
{
class Program
{
static void Main(string[] args)
{
string str=Console.ReadLine();
bool isAllUpperChar=true;
for (int i = 0; i < 5; i++)
{
if(str[i] >= 'A' && str[i] <= 'Z')
{
}
else
{
isAllUpperChar = false;
break;
}
}
if (isAllUpperChar==false)
{
Console.WriteLine("你输入的字母,不全是大写字母");
}
Console.ReadKey();
}
}
}
按理不会有错,但是不知道具体什么问题,各位该怎么改正