BEGIN MAIN
CREATE myArray[] = {9, -2, 30, -3, 98, 12};
CREATE max = array[0];
FOR (CREATE i = 1, i < 6, i++)
IF(myArray[i] > max)
max = myArray[i]
END IF
END FOR
PRINT("The maximum value is " + max);
END MAIN
What is the correct way to print the last element in myArray?
A. PRINT (myArray[5])
B. PRINT (myArray[length+1])
C. PRINT (myArray(5))
D. PRINT (myArray[size])