Complete all the three challenges. See below for details of each challenge.
In
src/assignment.js
, implement thesumOfNumbersTo
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 thesumOfNumbersTo
function, otherwise leave the comment.
In
src/assignment.js
, implement thecountEvenNumbersWithin
function. Determine and return the count, sum, arrayOfEvenNumbers. If you did Challenge - 2, remove the comment in the line just after thecountEvenNumbersWithin
function, otherwise leave the comment.
In
src/assignment.js
, implement thecelsiusToFahrenheit
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 thecelsiusToFahrenheit
function, otherwise leave the comment.
Clone the template repo and follow the instructions religiously. Committing and pushing your changes with trigger an automatic submission using GitHub Action.
Don't send the instructor a slack message if you get an email say something failed, please understand your test is failing hence why you are getting the mail.