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

PROGRAMMING:Simple number guessing game

Luz5年前 (2021-05-10)题库440
A simple number guessing game is to set a positive integer within 100 as the number to be guessed in advance. Users input a number to guess it. You need to write a program to automatically compare it with the number to be guessed and output the result of guess. In this question, the guessed number is set to 38.
###Input format:
Input gives an integer on a line.
###Output format:
Output guess results in one line, which are "good guess!"“ Too big!”、“ Too small!”。
###Input sample 1:
```in
forty-eight
```
###Output sample 1:
```out
Too big!
```
###Input sample 2:
```in
thirty-eight
```
###Output sample 2:
```out
Good Guess!
```
###Input sample 3:
```in
ten
```
###Output sample 3:
```out
Too small!
```






answer:If there is no answer, please comment