Results 1 to 10 of 10
- 01-24-2012, 10:13 PM #1
Member
- Join Date
- Jan 2012
- Posts
- 5
- Rep Power
- 0
I need to somehow add multiple numbers into an array to be used a later time
i want to create a program that when i press a button it will input marks that i tell it one by one listing them in a textArea. Then when i press a different button i want it to sort out the marks numerically. Then finally a button to list off the average, min, max, the range and finally What level each mark is. I can probably do most of it. my main issue is that i cannot get the marks input one by one. I would appreciate any help that can be given. Thank you.
- 01-24-2012, 10:57 PM #2
Re: I need to somehow add multiple numbers into an array to be used a later time
You don't say what a mark is or where you get it from.get the marks input one by one.
You could use JOptionPane to prompt the user to get the input one by one
- 01-25-2012, 04:19 AM #3
Member
- Join Date
- Jan 2012
- Posts
- 5
- Rep Power
- 0
- 01-25-2012, 04:35 AM #4
Re: I need to somehow add multiple numbers into an array to be used a later time
What is a mark?
- 01-25-2012, 04:42 AM #5
Member
- Join Date
- Jan 2012
- Posts
- 5
- Rep Power
- 0
Re: I need to somehow add multiple numbers into an array to be used a later time
Like a grade. 50%, 40% etc
- 01-25-2012, 01:14 PM #6
Re: I need to somehow add multiple numbers into an array to be used a later time
A String of 1 to 3 digits followed by a %
- 01-25-2012, 02:32 PM #7
Re: I need to somehow add multiple numbers into an array to be used a later time
Either that and you pop up OptionPanes as long as not "End" or something is entered, or a custom Dialog, that is triggered from the main screen and can be closed when the user is done.
@OP: keep it simple and try to code the input part first, when done you can start doing the calculations.Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
The Ubiquitous Newbie Tips
- 01-25-2012, 02:35 PM #8
Member
- Join Date
- Jan 2012
- Posts
- 5
- Rep Power
- 0
- 01-25-2012, 08:51 PM #9
Member
- Join Date
- Jan 2012
- Posts
- 5
- Rep Power
- 0
- 01-26-2012, 01:04 PM #10
Re: I need to somehow add multiple numbers into an array to be used a later time
That's not how it works. You try yourself and when you have specific questions or get stuck you can ask here.
Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
The Ubiquitous Newbie Tips
Similar Threads
-
playing multiple wavs at the same time.
By phil128 in forum Threads and SynchronizationReplies: 0Last Post: 01-19-2011, 02:00 PM -
inputs numbers then outputs how many time a particular number appears
By koji_kun in forum New To JavaReplies: 23Last Post: 12-22-2009, 08:33 PM -
Waiting on multiple semaphores at the same time
By flok in forum Threads and SynchronizationReplies: 3Last Post: 11-10-2009, 03:31 PM -
upload multiple picture at one time
By chaiwei in forum Java AppletsReplies: 3Last Post: 10-30-2009, 05:39 AM -
Multiple Random Numbers
By Jadles in forum New To JavaReplies: 6Last Post: 02-26-2009, 11:13 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks