Problem E: 求三个字符中的最大值

版权声明: https://blog.csdn.net/t_jeey/article/details/79517877

Problem E: 求三个字符中的最大值

Time Limit: 1 Sec  Memory Limit: 128 MB

Description

输入3个字符,输出其中的最大值

Input

3个字符

Output

这三个字符中的最大值

Sample Input

a ? Z

Sample Output

a

HINT

参考答案:

#include<stdio.h>
int main()
{
	char ch1,ch2;
	scanf("%c %c",&ch1,&ch2);
	printf("%c ",(ch1+32));
	printf("%c",(ch2-32));
	return 0;
}

编程软件下载:点击打开链接

猜你喜欢

转载自blog.csdn.net/t_jeey/article/details/79517877