Initial commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
namespace ConsoleApp1
|
||||
{
|
||||
class HelloWorld
|
||||
{
|
||||
static void Main()
|
||||
{
|
||||
char ch=Console.ReadKey();
|
||||
if (Char.ToUpper(ch)<= 'A' && Char.ToUpper(ch)<='Z')
|
||||
{
|
||||
if (ch >= 'A' && ch <= 'Z')
|
||||
{
|
||||
Console.WriteLine("{0}是大写字母", ch);
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("{0}是小写字母", ch);
|
||||
}
|
||||
}
|
||||
else if ()
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user