Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works

# Visual Logic Help

### #1 mduran7599 Posted 15 June 2008 - 01:57 PM

mduran7599

New Member

• Member
• 1 posts
I am at the end of my term in CIS115 in devry and i am having some problems with my last 2 questions of homework before the final if i could get any help at all it would be greatly appreciated.

here they are

High-Low: Write a program that allows the computer to randomly generate a number between 1 and 1000. The user will then enter a guessed value. If the guessed value is lower than the secret number, the computer should tell user to “enter a higher value”. If the guessed value is greater than the secret number then the computer should tell the user to “enter a lower value”. This process should continue till the user guesses the secret value. Then the final output should say: ” CORRECT! You guessed the secret number which is ….” “It took you # of guesses” (Hint: you need to use while loop for the guessed value. Also you need to create a counter to count the number of guesses)

• 0

### #2 Metallica Posted 18 June 2008 - 04:20 AM

Metallica

Spyware Veteran

• GeekU Moderator
• 33,054 posts
Hi mduran7599,

Your teacher should be happier with a failing attempt made by yourself then with a working program that you hardly understand.

Hint:
Random(5) A random number between 0 and 4
Random(100) + 1 A random number between 1 and 100

Regards,

Pieter
• 0

### #3 DeepPurple Posted 08 June 2009 - 01:54 PM

DeepPurple

New Member

• Member
• 1 posts
how about a hint as to how to set up the two arrays. Someone gave me this program and I am not doing this for a school but my self and the password problems looks interesting.
• 0

### Similar Topics

#### 0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users