-->
当前位置:首页 > 题库

PROGRAMMING:Compare the size of two strings

Luz5年前 (2021-05-10)题库371
Compare the size of two strings, do not use the StrCmp function.
###Input format:
Enter two strings less than 20 in length on both lines. Do not use line breaks, spaces, tabs in strings.
###Output format:
Directly output ">" or "<" or "=", respectively, indicating that the first string is greater than the second string, the first string is less than the second string, and the first string is equal to the second string.
###Input example:
```in
asd
abcd
```
###Output example:
```out
>
```
###Input example:
```
asd
asd
```
###Output example:
```
=
```
###Input example:
```
cdfg
fgh
```
###Output example:
```
<
```






answer:If there is no answer, please comment