Bookmark Topic Watch Topic
  • New Topic

Please Can anyone help?  RSS feed

 
Mark Robertson
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please can anyone help!? need to develop a program which allows the user to input multiple sets of numbers. EG - If user was looking to play 10 games of the lottery . I believe I need to store the users selections in a 2 dimensional array but I am unsure how to do this. Was intending to declare a 2d array such as - int [ ] [ ] Array1 = new int [10] [6] and populate it using the JOptionPane class. Do I use a nested 'for' loop?

Any help or suggestions would be greatly appreciated. Thanks, Mark
 
fred rosenberger
lowercase baba
Bartender
Posts: 12565
49
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Report post to moderator
There's no need to double post. In fact, it's generally frowned upon here.

This thread will probably be locked soon, as this question really is more appropriate to the other forum, i think.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!