I'm looking for someone to write a program for me in java. I'll provide the pseudocode for the program in a pm below, but i need someone competent with java to write it for me. My understanding of the syntax of java is quite limited, so i can't write it myself. It would also be appreciated if you would heavily comment the program so I can learn what the different parts are, and the correct syntax for various commands. Can anyone help me?
Load file containing six arrays
First array contains number between .5 and 2.0
Second array contains strings containing questions
Third array contains correct answers
Fourth through sixth array contains strings contain incorrect answers
Create array same size as first array containing all 1s
Loop
Sum the all the values in the first array multiplied by their equivalent number in generated array
Generate a random number between 0 and the above value
One at a time, subtract all the values in the first array multiplied by their equivalent number in the generated array from the random number until it is less than or equal to zero
save the value of the location id of the last number subtracted into another array(q array)
add the value at that location in first array to another variable
set the value at that location in the generated array to zero
go back to loop until variable is greater than or equal to 20
ask question at location id saved at first value
randomize answer order
take answer
check to see if time is less than 10 times value in first array for this question
if answer correct and value is less, then subtract .1 from value in first array(cannot be less than .5)
if not, add .2 to value(cannot be more than 2.0)
inform if correct/incorrect and/or on time/too late
repeat above steps for all values saved into q array
save new values of first array into same file loaded from to start
No, it's not my homework. I want the program for myself. And I am learning java, I'd like to actually use this to learn more. I'd like to see certain things used in the context of a program I understand, and at the same time get this made sooner than if i spent the time learning all the concepts the conventional way. Can someone please help me?
Rollback Post to RevisionRollBack
"BTW is made in the spirit that Minecraft, like bondage, gets better as you become more restrained."
The fastest way to learn is by doing. Yes, it requires a bit of effort and brain power, but it's worth it.
I'ts no one's homework. I honestly just want the program. And I am working on learning it the conventional way as well, but I would like to supplement that with an example. ie. This program.
Rollback Post to RevisionRollBack
"BTW is made in the spirit that Minecraft, like bondage, gets better as you become more restrained."
in a pmbelow, but i need someone competent with java to write it for me. My understanding of the syntax of java is quite limited, so i can't write it myself. It would also be appreciated if you would heavily comment the program so I can learn what the different parts are, and the correct syntax for various commands. Can anyone help me?lol yeah is it?
Lol, actually, I didn't post it out of lazyness really. I was tired. I'll edit it into the op quick.
I'ts no one's homework. I honestly just want the program. And I am working on learning it the conventional way as well, but I would like to supplement that with an example. ie. This program.