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

PROGRAMMING:C programming experiment 3-7

Luz5年前 (2021-05-10)题库346
Chicken and rabbit in the same cage, a total of 98 heads, 386 feet, please use the exhaustive method to calculate the number of chicken and rabbit.
###Input format:
There is no need to enter data from the keyboard.
###Output format:
The first row outputs the number of chickens, and the next row outputs the number of rabbits. See the output example.
###Input example:
```in
```
###Output example:
```out
chicken:3
rabbit:95
```







answer:If there is no answer, please comment