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

PROGRAMMING:Comparing Three Integers

Luz5年前 (2021-05-10)题库425
Write a program that inputs three different integers from the keyboard,
then prints the smallest and the largest of these numbers.
### Input Specification:
Input 3 numbers in one line, and separate by a space.
### Output Specification:
Print "The smallest: "+ the number at the first line, and print "The largest : "+ the number at the second line. (Thers's a space behind ":".
### Sample Input:
```in
73 45 90
```
### Sample Output:
```out
The smallest: 45
The largest: 90
```







answer:If there is no answer, please comment