How print random no. with arrays? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How print random no. with arrays?

29th Aug 2016, 7:25 PM
Gajendra Singh Rajpurohit
Gajendra Singh Rajpurohit - avatar
1 Answer
0
Declare one array list outside for loop and from inside generate random number assign to array list
30th Aug 2016, 6:29 AM
Hemanth S
Hemanth S - avatar