2571: 基本语法结构1-2018年阅读1-字符串-大写字母

内存限制:128 MB 时间限制:1.000 S
评测方式:文本比较 命题人:
提交:43 解决:30

题目描述

2018年阅读1

#include <stdio.h>
char st[100];

int main() {
	scanf("%s", st);
	for (int i = 0; st[i]; ++i) {	
		if ('A'<= st[i] && st[i] <= 'Z')
		st[i] += 1;
	}
	printf("%s\n", st);
	return 0;
}
输入:QuanGuoLianSai