-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor JavaScript assignment instructions
- Loading branch information
1 parent
3536f20
commit ab5c30e
Showing
1 changed file
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
## AltSchool Assignment | ||
# AltSchool Assignment | ||
|
||
Complete any two out of the three challenges. See below for details of each challenge. | ||
|
||
### Javascript Fluency Assignment | ||
## Javascript Fluency Assignment | ||
|
||
### Challenge - 1 | ||
|
||
#### Challenge - 1 | ||
> In `src/assignment.js`, implement the `sumOfNumbersTo` function. Calculate and return the sum of the numbers from 1 to destination. If you did Challenge - 1, remove the comment in the line just after the `sumOfNumbersTo` function, otherwise leave the comment. | ||
#### Challenge - 2 | ||
|
||
> In `src/assignment.js`, implement the `countEvenNumbersWithin` function. Determine and return the count, sum, arrayOfEvenNumbers. If you did Challenge - 2, remove the comment in the line just after the `countEvenNumbersWithin` function, otherwise leave the comment. | ||
#### Challenge - 3 | ||
|
||
> In `src/assignment.js`, 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. |