Skip to content

Commit a6b5d0a

Browse files
committedDec 15, 2019
đź““ Update readme
1 parent 441ce3c commit a6b5d0a

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed
 

‎README.md

+13-7
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,35 @@
1-
# TASK NAME
2-
3-
## History
1+
# Typical Arrays Problems
42

53
## Task
4+
There are a few typical problems while you working with arrays, and your goal is to solve it.
5+
6+
You should implement 3 functions: `max`, `min`, and `avg` for searching minimal value, maximal value, and an average value of a given array.
7+
8+
Please note, that you should return 0 if no params specified or an empty array passed
69

710
For example:
811
```js
12+
min(1, 2, 3, 4) // returns 1;
13+
max(1, 2, 3, 4) // returns 4;
14+
avg(1, 2, 3, 4) // returns 2.5;
915
```
1016

1117
Write your code in `src/index.js.
1218
*All test cases are designed as “error-free”, so don't worry about handling any errors.*
1319

1420
## Prepare and test
1521
1. Install [Node.js](https://nodejs.org/en/download/)
16-
2. Fork this repository: #
17-
3. Clone your newly created repo: https://github.com/<%your_github_username%>/#/
18-
4. Go to folder `#`
22+
2. Fork this repository: typical-arrays-problems
23+
3. Clone your newly created repo: https://github.com/<%your_github_username%>/typical-arrays-problems/
24+
4. Go to folder `typical-arrays-problems`
1925
5. To install all dependencies use [`npm install`](https://docs.npmjs.com/cli/install)
2026
6. Run `npm test` in the command line
2127
7. You will see the number of passing and failing tests you 100% of passing tests is equal to 100p in score
2228

2329
## Submit to [rs app](https://app.rs.school)
2430
1. Open [rs app](https://app.rs.school) and login
2531
2. Go to [submit task page](https://app.rs.school/course/submit-task?course=#)
26-
3. Select your task (#)
32+
3. Select your task (typical-arrays-problems)
2733
4. Press the submit button and enjoy
2834

2935
### Notes

0 commit comments

Comments
 (0)