题目描述:
从键盘上输入3个字符串,求出其中最大者。
输入:
输入3行,每行均为一个字符串。
输出:
一行,输入三个字符串中最大者。
样例输入
England
China
America
样例输出
England
解题:
//字符串求最大值
//从键盘上输入3个字符串,求出其中最大者
#include <stdio.h>
#include <string.h>
int main() {
char str1
题目描述:
从键盘上输入3个字符串,求出其中最大者。
输入:
输入3行,每行均为一个字符串。
输出:
一行,输入三个字符串中最大者。
样例输入
England
China
America
样例输出
England
解题:
//字符串求最大值
//从键盘上输入3个字符串,求出其中最大者
#include <stdio.h>
#include <string.h>
int main() {
char str1