Creating Array from Serial Input - SOLVED

at the top you declare these as global variables. Then, later, where you are assigning.... you declare local versions with the same name.