Hi all,
I just want to ask some help in my program. Actually I'm having a difficulty using array in java. The is about a quiz program. When a student select an answer using check box, there is an equivalent point of the answer. Like this one:
static String []questions = {"Question 1:\nWhat is the chemical symbol for Lead?","Question 2: \nHallux is another term for what part if the body?", "Question 3:\nThermodynamics is the study of heat energy and ______.","Question 4:\nNeon, helium, krypton, xenon, radon are what kind of gases?","Question 5:\nWhat is the male part of the flower?"};
static String [][]answers = {{"Pb","W","Ld","L"},{"Thumb","Big Toe","Middle Finger","Small Toe"}, {"Wind","Work","Water","Land"},{"Laughing Gases","Noble Gases","Natural Gases","Petrolium Gases"},{"Ovule","Stamen","Stigma","Sepal"}};
static String [][]point = {{"20","15","10","5"},{"5","20","15","10"},{"10"," 20","5","15"},{"15","20","10","5"},{"10","20","5", "15"}};
So, for question 1, every letter of choice has an equivalent points. After finish answering the five questions, the student automatically see the result.
I really need your help.
Thanks...

