public QuestionGen generateQuestion()
    {
        int LHS = Random.Range(0, 100);
        int RHS = Random.Range(0, 100);

        opChoice = Random.Range(0, 100);

        if (opChoice >= 50)
        {
            if (LHS > RHS)
            {
                exampleQ = new QuestionGen(LHS, RHS, '<', false);
            }
            else if (LHS < RHS)
            {
                exampleQ = new QuestionGen(LHS, RHS, '<', true);
            }
        }
        else if (opChoice <= 100)
        {
            if (LHS > RHS)
            {
                exampleQ = new QuestionGen(LHS, RHS, '>', true);
            }
            else if (LHS < RHS)
            {
                exampleQ = new QuestionGen(LHS, RHS, '>', false);
            }
        }
        return(exampleQ);
    }
 public void questionDisplay(QuestionGen generatedQ)
 {
     questionText      = GameObject.Find("Question").GetComponent <Text>();
     questionText.text = generatedQ.toString();
 }
 void Start()
 {
     newQ = generateQuestion();
     Debug.Log(newQ.toString());
     questionDisplay(newQ);
 }