-
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
-
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
-
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
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks