Create a mathematics game for children. The program should allow the user to choose different mode of the game:
-PracticeMode (Answer will be given after the user answer the question)
-ScoringMode (10 questions in a game, answer will not be given after the user answer the questions, it will show the scoring of the user at the end of the game.)
-AnswerMode (User give the question and answer, the program will display the answer to user)
DifficultyLevels:
-Easy (add(+) and subtraction(–) only)
-Medium (add(+), subtraction(-), and multiplication(X) only)
-Hard (add(+), subtraction(-), multiplication(X), and division(/))
Guideline:
-All questions should consist of TWO numbers and an operator (+, -, X, /), which are RANDOM.
-Addition and Subtraction questions, both of the numbers in the questions should not more than 100.
-Multiplication, both of the numbers of the question should not more than 12.
-Division, the first number should not more than 100, and the second number of the question should not more than 10.
Write a VB program to allow add name and display the registered name list using ArrayList.
The program should allow user to key in the name on the text box and add the name into an ArrayList using the Submit button. You can click the View All button to display all the added name in the second form. Limit a total of 20 name.
STEP 1: Display a MessageBox when the registration is successfully. (<= 20 items). Otherwise, display a message when the registration limit is reached.
STEP 2: Display the second form, and display all the items of the ArrayList in the ListBox.
Click Back button to back to the first form.
Click Remove button to remove the selected item from the ArrayList
Example -First Form
Enter your name:(textbox)
Submit(button) -show register successfully & the registration is closed (messagebox)
ViewAll(button) -Second Form
(Listbox -all the input items
Back(button) -back to first form
Remove(button) -remove the item)
Write a VB program to allow add name and display the registered name list using ArrayList.
The program should allow user to key in the name on the text box and add the name into an ArrayList using the Submit button. You can click the View All button to display all the added name in the second form. Limit a total of 20 name.
STEP 1: Display a MessageBox when the registration is successfully. (<= 20 items). Otherwise, display a message when the registration limit is reached.
STEP 2: Display the second form, and display all the items of the ArrayList in the ListBox.
Click Back button to back to the first form.
Click Remove button to remove the selected item from the ArrayList
Example(first form)
Enter your name:(textbox)
Submit(button) -show register successfully & the registration is closed(messagebox)
ViewAll(button) -Second Form
(Listbox - all the input items
Back(button) -back to first form
Remove(button) - remove the item)
Write a function procedure named RemoveDollarSign that takes in a string parameter and returns a string value after removing the first character of the string if the first character is ‘$’. For example, if we call the procedure with the string parameter $20.56, the procedure should return 20.56.
Write a function procedure named RemoveDollarSign that takes in a string parameter and returns a string value after removing the first character of the string if the first character is ‘$’. For example, if we call the procedure with the string parameter $20.56, the procedure should return 20.56
Write a VB program to find out the highest and lowest mark and displayed every time the user add a mark into the list box.
The program should allow user to key in the mark on the text box and insert the mark into the list box suing the Insert button. After the mark is inserted, the highest mark and lowest mark within the list box will be displayed on the corresponding text box.
The interface should be as followed:
Mark: 57(TextBox)
Insert(Button)
Highest:87(TextBox)
Lowest: 26(TextBox)
(ListBox)
39
74
45
87
26
66
35
77
73
57
Write a VB program to find out the highest and lowest mark and displayed every time the user add a mark into the list box.
The program should allow user to key in the mark on the text box and insert the mark into the list box suing the Insert button. After the mark is inserted, the highest mark and lowest mark within the list box will be displayed on the corresponding text box.
The interface should be as followed:
Example
Mark: 57(TextBox) ListBox
29
Insert(Button) 74
45
Highest:87(TextBox) 87
Lowest: 26(TextBox) 26
66
35
77
73
57
how to create program that will store three student names with corresponding grades for prelim, midterm, and finals. Compute its average.
hi i would like to know what does Using reader As StreamReader = NewStreamReader(FilePath)
Error mean?
Hypotenuse Calculations) Define a method hypotenuse that calculates the hypotenuse of a right triangle when the lengths of the other two sides are given. The method should take two arguments of type double and return the hypotenuse as a double. Incorporate this method into an application that reads values for sidel and side 2 and performs the calculation with the hypotenuse method. Use Math methods pow and sqrt to determine the length of the hypotenuse for each of the triangles in Fig. $6.15 .[$ Note: Class Math also provides method hypot to perform this calculation.]