Tata
Level 16
Hisar, Haryana
heliD
Level 21
United Kingdom
code meets requirenment of taskSo, according to Console output, if array size is 20(even), it fills with :
[10,10,10,10,10,10,10,10,10,10,13,13,13,13,13,13,13,13,13,13]
Then if array size is 21(odd), it fills as
[10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,13,13,13,13,13]
According to console output, my code met the requirem