2. Given a random non-negative number, you have to return the digits of this number within an array in reverse order. Example: | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

2. Given a random non-negative number, you have to return the digits of this number within an array in reverse order. Example:

2. Given a random non-negative number, you have to return the digits of this number within an array in reverse order. Example: 348597 => [7,9,5,8,4,3] 258 => [8,5,2]

16th Jul 2021, 10:04 AM
Oputa Prince
1 Answer
+ 4
Oputa Prince , as your post is not a question, one might assume that you are expecting someone to give you the code to solve this task. before we may help you, please show us your attempt first. => please put your code in playground and link it here. thanks!
16th Jul 2021, 10:40 AM
Lothar
Lothar - avatar