Write a program that plays the game of “guess the number??. Your program should pick a random integer between 1 and 1000. Create a sub procedure (in the general section of the form) that will generate this number and store it in a form-level variable. Call the sub procedure on Form_load so that a random number is generated when the program first runs. The user will type an integer into a text box and than click on a command button. Keep track of how many attempts it takes to guess the correct number. Each time a guess is made (the user clicks on the button) add 1 to the number of guesses made and display this number in a label. The program should then respond in one of the following ways: Display a message box indicting that the user’s guess was too high. Display a message box indicating that the user’s guess was too low. Display a Message Box indicating that the user has guessed the correct number. Display a second message box asking the user if they would like to play again. If so, start the game over by generating a new random number and resetting all necessary controls and variables. If not, end the program. The text box should only accept positive whole numbers and the backspace key (exclude other characters on the keypress event). Hint: You may wish to set up a temporary label on your form to display the random number. This way you can test the program easily. My version does this. Turn in a hard copy of the following: 1. OPE chart 2. IPO chart 3. Pseudocode 4. Source Code printout 5. The VB Program (.frm and .vbp files)
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.