I want to take user input into 2 arrays to store names and marks. One of string type to store names and the other of int type for the marks. I can display them using the index of the element of any particular array.
However I want the array to be dynamic and it should be filled by the user and not hard coded. What is the best way to go about it. I want to use arrays and not array lists. I dont want to hard code it.