i am using a java program and i need to store two sets of data (radius and thickness) there are elven of these i need to store. my question is firstly how to store these into an array without having to do user input each time. then say i need the radius and thickness of the third detector then how do i code for this. i know it is not clearly explained but any help apreciated.
jingham
0
Newbie Poster
Recommended Answers
Jump to PostWhere will these pairs of numbers come from? A file or via user input?
If the numbers don't change often, then you could read them from a file that a user could fill in using an editor.
If there are two numbers that go together, you could create a simple …
All 3 Replies
NormR1
563
Posting Sage
Team Colleague
jingham
0
Newbie Poster
NormR1
563
Posting Sage
Team Colleague
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.