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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!