当前位置:网站首页>Exercise 7-7 string replacement (15 points)
Exercise 7-7 string replacement (15 points)
2022-06-13 09:25:00 【Hezeze】

#include <stdio.h>
int main () {
int i;
char a[81];
gets (a);
for (i=0;a[i]!='\0';i++) {
if (a[i]>='A'&&a[i]<='Z') {
a[i]=a[i]+('Z'+'A'-2*a[i]);
}
}
puts (a);
return 0;
}
边栏推荐
- LeetCode 1143. 最长公共子序列
- LeetCode 6095. Strong password checker II
- 阿里高级专家剖析 | Protocol的标准设计
- LeetCode 1. Sum of two numbers
- C/S模型与P2P模型
- I have summarized the knowledge points of JS [intermediate and advanced] for you
- C/s model and P2P model
- Delete soft link
- 20211020 academician all drive system
- 20211018 some special matrices
猜你喜欢

IP address introduction

C language: deep understanding of character functions and string functions (1)

Routing - static routing

(bfs) acwing 844. Labyrinth

C language: file operation

C language: minesweeping

Jenkins接入Openldap用户认证

线上调试工具Arthas高级

C language: preprocessing in program environment

阿里高级专家剖析 | Protocol的标准设计
随机推荐
Longadder of the source code of JUC atomic accumulator
Dpdk timer learning notes
20211028 Stabilizability
(tree DP) acwing 285 A dance without a boss
拜登:希望尽快签署两党枪支安全改革法案
Yolov5 face learning notes
20211028 adjustment and tracking
JUC Unsafe
acwing 786. Number k
Jenkins integrates LDAP. The problem of login failure of Jenkins users caused by LDAP configuration error is solved
CAS NO lock
Lecture par lots de tous les fichiers vocaux sous le dossier
线上调试工具Arthas基础
Jenkins access openldap user authentication
JUC atomic array
(Dijkstra + shortest circuit + by point n^2) acwing 849 Dijkstra finding the shortest path I
Cisco, Huawei network equipment
LeetCode 202. Happy number
Timestamp to localdate
LeetCode 202. 快乐数