Færdiggjort

VB6 GUESS

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)

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

## Platform

XP

Evner: Ingeniørarbejde, MySQL, PHP, Software Arkitektur, Software Testning, Visual Basic

Se mere: how to write vb, work hard play hard, Pseudocode, Pick basic, ope, guess the, c guess, click random game, visual basic turn game, php generate label, random number program code visual basic, vb6 create code, generate random number, php printout, visual basic click button code, vb6 code correct, button set game, variables chart, vb6 type, correct vb6 code

Om arbejdsgiveren:
( 27 bedømmelser ) France

Projekt ID: #2912058

Tildelt til:

brianalex

See private message.

$5 USD in 14 dage
(11 bedømmelser)
1.6

4 freelancere byder i gennemsnit $10 på dette job

thecodebuyer

See private message.

$8.5 USD in 14 dage
(24 bedømmelser)
4.6
techcham

See private message.

$12.75 USD in 14 dage
(7 bedømmelser)
1.8
parodi

See private message.

$12.75 USD in 14 dage
(0 bedømmelser)
0.0