Find Jobs
Hire Freelancers

VB6 GUESS

$10-15 USD

Completed
Posted about 21 years ago

$10-15 USD

Paid on delivery
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
Project ID: 2912058

About the project

4 proposals
Remote project
Active 21 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$5 USD in 14 days
5.0 (11 reviews)
1.6
1.6
4 freelancers are bidding on average $10 USD for this job
User Avatar
See private message.
$8.50 USD in 14 days
5.0 (24 reviews)
4.6
4.6
User Avatar
See private message.
$12.75 USD in 14 days
5.0 (7 reviews)
1.8
1.8
User Avatar
See private message.
$12.75 USD in 14 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of FRANCE
France
5.0
27
Member since Oct 13, 2002

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.