<pre name="code" class="objc">#include<stdio.h>
int main()
{
int ch;
while( (ch=getchar()) != EOF)
{
if( ch>='a'&&ch<='z')
{
putchar(ch);
}
if( ch>='A'&&ch<='Z')
{
ch+=32;
putchar(ch);
}
}
return 0;
}
大小寫轉換
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
記錄Ubuntu 22.04.2 LTS新建個dekstop不能運行的問題
需要使用以下命令添加授權 gio set xx.desktop metadata::trusted true
菊花茶
2024-05-23 14:14:28
MinGW -- Minimalist GNU for Windows
emanlee
2024-05-23 14:13:27
hdu4417(權值離散化後建立主席樹)
SnowLove
2024-05-23 14:13:17
T-SQL——關於刪除
hanzm
2024-05-23 14:12:47
Dapper升級SqlSugar問題彙總
孫凱旋
2024-05-23 14:07:06
Nginx R31 doc-08-NGINX 和 NGINX Plus 作爲 Web 服務器
葉止水
2024-05-23 14:01:25
CeiT:商湯提出結合CNN優勢的高效ViT模型 | 2021 arxiv
曉飛的算法工程筆記
2024-05-23 14:01:25
Angular Material 17+ 高級教程 – CDK Table
興傑
2024-05-23 14:01:05
阿里大模型QA
Coding_Yong
2024-05-23 14:00:05
powershell腳本批量拉取 git倉庫文件
致未來的自己
2024-05-23 13:55:45
nginx打印所有配置內容
BigOrang
2024-05-23 13:55:24
Spring Boot中的 6 種API請求參數讀取方式
程序猿DD
2024-05-23 13:55:14
SQL Server 查詢超時問題排查
博客園you
2024-05-23 13:54:24