Computer Science Homework Solutions
Problem
#7722

Creating an Addition Tutor in Visual Basic

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!

Solution
What is this?
By OTA - Overall OTA Rating
Amrit Lal Ahuja, PhD (IP) - 4.9/5
Purchase Cost Now
$2.19 CAD (was ~$7.98)
Included in Download
  • Plain text response
  • Attached file(s):
    • vb.pdf
$2.19 Instant Download
Add to Cart
Why you can trust BrainMass.com
  • Your Information is Secure
  • Best Online Academic Help Service
  • Students find real academic Success
Related Solutions
Browse