Explore BrainMass

Explore BrainMass

    Creating an Addition Tutor in Visual Basic

    Not what you're looking for? Search our solutions OR ask your own Custom question.

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    In Visual Basic the form needs to contain one command button that should present a new addition problem and one should allow the user to quit. There should be a text box to present the question and accept the answer and another to tell the user whether her answer was correct. End program with the quit button. After that is working, add option buttons to allow the user to choose easy medium or hard problems, i.e., numbers between 0 and 9, 0 and 99 or 0 and 999.
    My question is the following: To create an new problem in the text box, what should the code look like in the command button? I know that x=int(random()*10) and y=int(random()*10) but I am having a tough time putting it together to show the problem in the text box. Thank you!

    © BrainMass Inc. brainmass.com November 24, 2022, 11:35 am ad1c9bdddf

    Solution Summary

    An addition tutor in Visual Basic is created and presented in an attached PDF file.