Question: Write javascript code to obtain all the two digit numbers in array below, that meet requirement a digit sum less than 10, digit sum is
Write javascript code to obtain all the two digit numbers in array below, that meet requirement
- a digit sum less than 10, digit sum is the sum of value of all digits of number. For instance, digit sum of 251 is 2+5+1=8.
Array = [284,24,2,424,5,6,776,43,42,68,908,4,134]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
