how do I create a 2d array, where the user choos the size of the array? or have to make this:
1 2 3 4 5
1 O O O O O
2 O O O O O
3 O O O O O
4 O O O O O
5 O O O O O
olsane
0
Newbie Poster
Recommended Answers
Jump to Posthow do I create a 2d array, where the user choos the size of the array?
You ask user for input(command line write message and ask for entry, GUI provide a field to be fill in), you read the input(command line use Scanner class or similar, GUI use provided getText() …
All 3 Replies
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
cale.macdonald
4
Junior Poster
Dhruv Gairola
-3
Junior Poster in Training
peter_budo
commented:
Just repeating that was already said...
-3
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.