Sollicitatievraag bij QVC

Simple coding question that requires you to put elements in an array based on set rules