The second indexes should be 1 more than the first, am I correct?
--- Update ---
It work when I set i = x+1. Is this the correct way? Thanks
Type: Posts; User: maple1100
The second indexes should be 1 more than the first, am I correct?
--- Update ---
It work when I set i = x+1. Is this the correct way? Thanks
I understand the starting at another index part but let say I put i=1 instead of 0 , it might not compare itself to thing at index 0 but at index 1 and so on it will compare itself.
This is the nested loop that I have but it also compare the objects to itself since x and i have the same value at some point. How can I avoid the objects inside the list comparing itself? Thanks
...
Would the List that I created with the objects being added fine or do I need to create a different array? Thanks
For the code belong, I'm trying to compare all the objects with each other and print if they're the same, is there any efficient methods in doing so beside me creating like 20 if else statement and...