Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fuadop/lastname-firstname-assignment-02
altschool js assignment
https://github.com/fuadop/lastname-firstname-assignment-02
Last synced: 5 days ago
JSON representation
altschool js assignment
- Host: GitHub
- URL: https://github.com/fuadop/lastname-firstname-assignment-02
- Owner: fuadop
- License: mit
- Created: 2022-07-04T17:48:49.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-06T01:49:10.000Z (over 2 years ago)
- Last Synced: 2024-10-12T07:05:56.323Z (about 1 month ago)
- Language: JavaScript
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## AltSchool Assignment
Complete any two out of the three challenges. See below for details of each challenge.
### Javascript Fluency Assignment
#### Challenge - 1
> In `src/assignment.mjs`, implement the `sumOfNumbers` function. Calculate and return the sum of the numbers in the given array. If you did Challenge - 1, remove the comment in the line just after the `sumOfNumbers` function, otherwise leave the comment.#### Challenge - 2
> In `src/assignment.mjs`, implement the `countEvenNumbers` function. Determine and return the count of all even numbers in the given array. If you did Challenge - 2, remove the comment in the line just after the `countEvenNumbers` function, otherwise leave the comment.#### Challenge - 3
> In `src/assignment.mjs`, implement the `celsiusToFahrenheit` function. Convert the array of numbers representing temperatures in Celsius, to an array of temperatures in Fahrenheit. Decimal figures in the converted values in Fahrenheit should be removed. E.g 51.21 should just be 51 (hint: Math.trunc(...) function)
See https://www.thoughtco.com/celcius-to-farenheit-formula-609227 for the conversion formula. If you did Challenge - 3, remove the comment in the line just after the `celsiusToFahrenheit` function, otherwise leave the comment.