Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to get first and last

function sumOfFirstAndLast(number) {
   //Write your code here 
}  
sumOfFirstAndLast(892) -> 10 
sumOfFirstAndLast(20003) -> 5
Source by canvas.instructure.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
9+4 =