0
Guys i write a code to check
If two numbers are equal or not. If its equal it outputs the index number twice. For example 3, 2 2,3 How shall i print only once. https://code.sololearn.com/cDv2mJJlJFUs/?ref=app
1 Answer
+ 3
If I'm understanding you correctly, try this
for(int j = i; j<5; j++)