DevX Home Today's Headlines   Articles Archive   Tip Bank   Forums

# Thread: Thank you everyone, but I still have some problem (was: My Visual Basic Class.... driving me nut!!)

1. Justin Lee Guest

## Thank you everyone, but I still have some problem (was: My Visual Basic Class.... driving me nut!!)

Hi, this is Justin again. I think I have a little clue how to solve
5x10x15x20x25.....x70 in using VB programming. But it has to be solved using
a Do...While loop. Send me any help.

Thank you.
Justin

2. Phil Weber Guest

## Re: Thank you everyone, but I still have some problem (was: My Visual Basic Class.... driving me nut

> I think I have a little clue how to solve 5x10x15x20x25...
> x70 using VB programming. But it has to be solved using
> a Do...While loop. Send me any help.

Justin: We don't want to do your assignment for you. That would be cheating,
and you wouldn't learn anything. Why don't you post the code you've come up
with so far and explain where you're stuck, and we'll see if we can give you
a hint.

Also, we have a discussion group specifically for people who are new to VB
programming: vb.getting.started. I'm going to mark this message so that
replies to it will appear in the Getting Started group. Thanks!
---
Phil Weber

3. Jim Edgar Guest

## Re: Thank you everyone, but I still have some problem (was: My Visual Basic Class.... driving me nut

Justin --

I hope this is what you need. I haven't used
a Do...While loop in a long time so I probably
have the syntax messed up but here goes:

Dim i As Integer
Dim t As Long

i = 0
t = 1

Do
i = i + 5
Debug.Print i & " x " & t & " = ";
t = t * i
Debug.Print t
Loop While i < 70

Jim Edgar

"Justin Lee" <justin1215_98@yahoo.com> wrote:
>Hi, this is Justin again. I think I have a little clue how to solve
>5x10x15x20x25.....x70 in using VB programming. But it has to be solved using
>a Do...While loop. Send me any help.
>
>Thank you.
>Justin
>
>

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•

 FAQ Latest Articles Java .NET XML Database Enterprise
 Questions? Contact us. C++ Web Development Wireless Latest Tips Open Source