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

23rd Jun 2020, 7:20 PM
stephen haokip
stephen haokip - avatar
1 ответ
+ 3
If I'm understanding you correctly, try this for(int j = i; j<5; j++)
23rd Jun 2020, 7:38 PM
ChaoticDawg
ChaoticDawg - avatar