Skip to content

Commit 124bcd9

Browse files
authored
Update README.md
1 parent 5af6e8f commit 124bcd9

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

tutorial-1-c-and-cubeide-setup/classwork/classwork-5-mean-median-min-max/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The max is the biggest number in the set
4242
#### Assumption
4343

4444
- 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**.
4646

4747
#### Example
4848

@@ -57,10 +57,10 @@ Enter a number to append to the number set. Enter "-1" to stop appending.
5757
>0
5858
>2
5959
>-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
6464
```
6565

6666
## How to compile and run the code
@@ -99,4 +99,4 @@ gcc main.o mean.o median.o min_max.o
9999
.\a.exe
100100
```
101101

102-
</details>
102+
</details>

0 commit comments

Comments
 (0)