create an array which can store the strings from the user input in shell script

I want to create an array which can store the strings from the user input in shell script .

example :-

I want to store the 5 fruits name in a single array which the user provides .

This sounds like homework.

We have a forum for homework with special rules. Please repost there