sweet_joory
05-29-2006, 07:18 PM
Hii! I just started taking GUI programming and I need help!!! :confused:
Write a program that will help a student learn multiplication. Use the Next method from an object of type Random to produce 2 positive one-digit integers. It should display a question in the status bar:
How much is 6 times 7?
The student should then type the answer into a TextBox. Your program should check the student's answer. If it's correct, draw the string "Very Good!" in a read-only TextBox, then ask another multiplication question. If the answer is wrong, draw the string "No. Please try again." in the same read-only TextBox, then let the student try the same question again until the student finally gets it right. A separate method should be used to generate each new question. This method should be called once when the program begins execution and each time the user answers the question correctly.
Thanx guys!!! I'll be hearing from u soon!!!
Joory
Write a program that will help a student learn multiplication. Use the Next method from an object of type Random to produce 2 positive one-digit integers. It should display a question in the status bar:
How much is 6 times 7?
The student should then type the answer into a TextBox. Your program should check the student's answer. If it's correct, draw the string "Very Good!" in a read-only TextBox, then ask another multiplication question. If the answer is wrong, draw the string "No. Please try again." in the same read-only TextBox, then let the student try the same question again until the student finally gets it right. A separate method should be used to generate each new question. This method should be called once when the program begins execution and each time the user answers the question correctly.
Thanx guys!!! I'll be hearing from u soon!!!
Joory