File tree 1 file changed +6
-6
lines changed
tutorial-1-c-and-cubeide-setup/classwork/classwork-5-mean-median-min-max
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ The max is the biggest number in the set
42
42
#### Assumption
43
43
44
44
- There will be at most 300 numbers in the set.
45
- - The input numbers are inside ` float ` range and valid data will only be ** positive numbers** .
45
+ - The input numbers are inside ` float ` range and valid data will only be ** non-negative numbers** .
46
46
47
47
#### Example
48
48
@@ -57,10 +57,10 @@ Enter a number to append to the number set. Enter "-1" to stop appending.
57
57
>0
58
58
>2
59
59
>-1
60
- Mean=3
61
- Median=2
62
- Min=0
63
- Max=9
60
+ Mean=3.000000
61
+ Median=2.000000
62
+ Min=0.000000
63
+ Max=9.000000
64
64
```
65
65
66
66
## How to compile and run the code
@@ -99,4 +99,4 @@ gcc main.o mean.o median.o min_max.o
99
99
.\a.exe
100
100
```
101
101
102
- </details >
102
+ </details >
You can’t perform that action at this time.
0 commit comments