store value to array via serial command

please help, i newbie in arduino programming ,how to insert array data from serial

I want to fill the array data like this

int time [] = {12,14,45,15,4,1,25,10}

how do i make the program

thank you,

sorry my english

Read Serial input basics - updated as a start

thank you for help :slight_smile: