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

PROGRAMMING:sum and average

Luz5年前 (2021-05-10)题库412
Input 4 integers, print their sum and average.
### Input Specification:
Input 4 integers in one line, separate each other by 1 space.
### Output Specification:
Output the sum in integer, and output average holding 2 fraction digits. The output form is "Sum = `value`; Average = `value`".
### Sample Input:
```in
1 2 3 4
```
### Sample Output:
```out
Sum = 10; Average = 2.50
```







answer:If there is no answer, please comment