Math Quiz help please

view full story

http://stackoverflow.com – I am new to Android programming using Java. I am stuck on this problem. If anyone could help, it would be greatly appreciated. I need to generate a random number from an array and put it into a text view. For each question in the addition problems, each operand should be no more than 100. public void AdditionProblem() { int AdditionOperandList [] = {101}; int operand1 = AdditionOperandList.length; int randomOperand1Index = random.nextInt(operand1); int operand2 = AdditionOperandList.length; int randomOperand2Index = random.nextInt(operand2); int additionSolution = randomOperand1Index + r (HowTos)