For example, there are 10 elements in the array. But there are four of them. Send the remaining 6 items to display as empty | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

For example, there are 10 elements in the array. But there are four of them. Send the remaining 6 items to display as empty

1st Apr 2018, 8:15 AM
Farrukh Yuldoshev
Farrukh Yuldoshev - avatar
2 Answers
1st Apr 2018, 9:27 AM
Tarantino
Tarantino - avatar
+ 3
Please rephrase your question, it is not really clear (Is there really 10 or 4 items?). Indicate on the tags which language did you expect an answer,and if this was a challenge you may also need to add "Challenge" in the tag.
1st Apr 2018, 9:31 AM
Ipang