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

PROGRAMMING:Finding the mean value of an integer

Luz5年前 (2021-05-10)题库423
This problem requires programming to calculate the sum and average of four integers. Ensure that the input and output are in the range of integer.
###Input format:
Input gives four integers on a line, separated by spaces.
###Output format:
In one line, follow the format "sum = and; Average = average value "and the average value, where the average value is accurate to one decimal place.
###Input example:
```in
1 2 3 4
```
###Output example:
```out
Sum = 10; Average = 2.5
```






answer:If there is no answer, please comment