Results 1 to 10 of 18
Thread: Need help with Visual Basic
-
- Join Date
- 11-26-06
- Location
- Anywhere you want to be.
- Posts
- 3,946
- Post Thanks / Like
- Blog Entries
- 1
12-07-07, 06:25 PM #1Need help with Visual Basic
I need help with Visual Basic anyone out there good at programming?
ty
-
-
- Join Date
- 08-27-07
- Location
- Colorado
- Posts
- 2,795
- Post Thanks / Like
- Blog Entries
- 9
12-07-07, 10:53 PM #3Re: Need help with Visual Basic
Visual Basic... think editing an .ini file, or writing HTML, or cruising the web, or messing around with your desktop. It's really that simple.
(This is a joke right?)"In matters of style, swim with the currents... in matters of principle, stand like a rock."
-Thomas Jefferson
-
-
-
-
-
-
- Join Date
- 11-26-06
- Location
- Anywhere you want to be.
- Posts
- 3,946
- Post Thanks / Like
- Blog Entries
- 1
12-08-07, 10:37 AM #9Re: Need help with Visual Basic
O.K. here is my prob
ok so in my miscrosoft visual basic book im doing a program that says the following.
"Create a Bowling Scores application that prompts the user to enter as many bowling scores as desired and then displays the high score and the low score."
basically I have all of it down except when I display the "high and Low scores" I only get my low number right not the high number.
P.S. where we enter the information is in a InputBox. Then we run a loop on the InputBox so you can enter as many scores as you want.
-
12-08-07, 11:06 AM #10
Re: Need help with Visual Basic
Well, that's easy enough without even remembering the code. Unless I'm mistaken, this is merely an exercise in logic.
The data is in an array, right?
1.) Just take the first variable from the array and name it...say X
2) Increment the variable number you are pointing to and grab the next number, call it Y.
3.) Compare X against Y, skip the next tine if X > Y
4.) Set X = Y (if above wasn't true, this command should be skipped)
5.) Increment the variable you are pointing to, load it into Y and start back at #3 again.
6.) Repeat these steps for as many times around as you need to.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks