|
-
Oct 1st, 2000, 07:09 PM
#1
Thread Starter
Junior Member
Could someone help me write a code to find all the common factors of 2 numbers using the for loop where the user enters in two numbers.
This is what I have so far
Dim num As String
if t mod a and h mod a then
a = common factor
h = common factor
For i= 1 to 9
t = num1
h = num2
[Edited by tappling on 10-02-2000 at 08:42 AM]
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
|
Click Here to Expand Forum to Full Width
|