Posts by user130397 • 16 points
1 post
-
0
votes1
answer35
viewsA: When I run my program this error appears and I don’t know what is wrong
The error is saying that you are trying to access an element at a position of the array that does not exist. In this case, your size 2 array has the index 0 and 1, but you’re trying to access the…