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

PROGRAMMING:Comparison of rational numbers

Luz5年前 (2021-05-10)题库422
This problem requires the preparation of procedures to compare the size of two rational numbers.
###Input format:
Input two rational numbers in the form of fraction in one line according to the format of "A1 / B1 A2 / B2", where the numerator and denominator are all positive integers in the range of shaping.
###Output format:
In one line, output the relationship between two rational numbers according to the format of "A1 / B1 relation character A2 / B2". Where "$$> $$" means "greater than", "$$< $" means "less than", "$$= $$" means "equal to".
###Input sample 1:
```in
1/2 3/4
```
###Output sample 1:
```out
1/2 < 3/4
```
###Input example 2:
```
6/8 3/4
```
###Output example 2:
```
6/8 = 3/4
```






answer:If there is no answer, please comment