Generate random number with different digits (digits will be as many as the number the user entered) in Java

后端 未结 0 664
小蘑菇
小蘑菇 2020-12-18 01:41

I want to generate a random number with as many digits as the user enters. All of these digits should be different from each other. I can\'t do it with arrays because I lear

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