Although my program is reading a number and the output data is according to the requested, the task keeps failing to pass testing. I always get the same error: "The program needs to read a number from the keyboard"- failed. I've tried both keyboard input methods, Scanner and InputStream and in both cases I get the same error. "The array must be initialized with an appropriately-sized array". - Ok, passed; "The array must be filled as outlined in the task conditions". - Ok, passed; "The program needs to display elements of the array on the screen (see the example in the task conditions)". - Ok, passed.