Making array length and coordinate a variable
I am trying to make a program that makes notecards for you. I need it to make x amount of notecards depending on how many inputs a person puts in. So after every time the user enters an input and clicks next the program adds 1 to x and 1 to y. (y=coordinate in which the value is stored in the array) but after I enter one value and click next then enter the second value and click next it says there is an error...Why is this happening?
Making array length and coordinate a variable
===

I am trying to make a program that makes notecards for you. I need it to make x amount of notecards depending on how many inputs a person puts in. So after every time the user enters an input and clicks next the program adds 1 to x and 1 to y. (y=coordinate in which the value is stored in the array) but after I enter one value and click next then enter the second value and click next it says there is an error...Why is this happening?