How to print the numbers without duplicate when using for loop

后端 未结 0 1749
没有蜡笔的小新
没有蜡笔的小新 2020-11-27 10:25

I got to print them in groups but it got duplicated when using for loop.

for(int j = arr.length - 1; j >= 0; j--)
{

System.out.print("[" + arr[j         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题