Array not starting where I want

Thank you guys!
Last edited on
line 41: change size with size+1
Last edited on
The simple way is to, when reading input from the user to index into the array, subtract 1 from the input. When displaying an array index, add 1. You may also want to do a range check on the input to make sure you stay in bounds.
Topic archived. No new replies allowed.