当前位置:网站首页>C # enter a letter and judge its case
C # enter a letter and judge its case
2022-07-23 12:58:00 【Amateur visionary】
C# Enter a letter , Judge its case
using System;
namespace character
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(" Please enter a letter :");
char s = char.Parse(Console.ReadLine());
if(s >= 'A' && s<= 'Z')
{
Console.WriteLine(s + " It's a capital letter ");
}else if(s >= 'a' && s <= 'z')
{
Console.WriteLine(s + " It's a small letter ");
}else
{
Console.WriteLine(s +" It's not a letter ");
}
Console.ReadKey();
}
}
}
边栏推荐
- Liveness、Readiness 和 Startup Probes
- Gameframework:resource loading, resource loading, dependency loading, task pool, object pool, reference count
- 默认路由配置实例学习记录
- Unity shader missing problem
- 写一个可执行文件依赖.so的测试用例
- Gameframework: package resources, publish packages with the app, package and generate folder instructions, upload resources to the server, download resources, gamefreamworklist DAT and gameframeworkve
- Array leetcode977. Square of ordered array
- Learning diary - (routing and switching technology) ACL access control list
- How far is the first kind of mistake from us
- jenkins部署
猜你喜欢

快速解决:Xshell拖不進去文件夾或者軟件包的問題

Simple use of psutil monitoring

C (CSharp) wechat official account development - basic configuration

Hcip --- condition matching and OSPF Protocol

Learning diary - (routing and switching technology) network address translation NAT Technology

How to write a web page with a common text editor

MySQL performance optimization, index optimization

PPP 配置实例学习记录

OSPF comprehensive experiment in hcip-mgre environment

Quick solution: xshell can't drag into folders or software packages
随机推荐
0 backtracking / dynamic programming medium leetcode526. Beautiful arrangement
Learning diary - (routing and switching technology) layer 3 switch
DHCP principle and configuration
OSPF comprehensive experiment in hcip-mgre environment
How far is the first kind of mistake from us
单臂路由配置实例学习记录
Take go language as an example to explain [performance analysis] by analogizing detective reasoning
The correspondence between the concept of go ability and the concept of software development ability
为什么要搭建本地yum仓库?
2020-09-20
Eth-Trunk 配置实例学习记录
0 double pointer leetcode844. Compare strings with backspace
Learning diary - (routing and switching technology) OSPF Protocol
Unity used trilib plug-in under URP pipeline to load model material incorrectly
Learning diary - (routing and switching technology) DHCP (Dynamic Host Configuration Protocol)
Gameframework: resource hot code analysis, check version information, download version files, verify version files, get the number of updated files, download files, taskpool
学习日记——(路由与交换技术)动态路由(rip协议)和静态路由
快速解决:Xshell拖不進去文件夾或者軟件包的問題
2020-09-22
DHCP 配置实例学习记录