answersLogoWhite

0

36288 WRONG!
(1*2*3*4*5*6*7*8*9)/10 WRONG!


I obviously misreads the question. after writing a simple visual basic program, see below. I am changing my answer to "does not exist." as the program failed to return a value.


Private Sub Command0_Click()
Dim i As Long


i = 1


Do While i Mod 9 > 0 Or i Mod 10 = 0
i = i + 1
Do While i Mod 8 > 0 Or i Mod 10 = 0
i = i + 1
Do While i Mod 7 > 0 Or i Mod 10 = 0
i = i + 1
Do While i Mod 6 > 0 Or i Mod 10 = 0
i = i + 1
Do While i Mod 5 > 0 Or i Mod 10 = 0
i = i + 1
Do While i Mod 4 > 0 Or i Mod 10 = 0
i = i + 1
Do While i Mod 3 > 0 Or i Mod 10 = 0
i = i + 1
Do While i Mod 2 > 0 Or i Mod 10 = 0
i = i + 1
Loop
Loop
Loop
Loop
Loop
Loop
Loop


Loop
MsgBox i




End Sub

User Avatar

Wiki User

15y ago

Still curious? Ask our experts.

Chat with our AI personalities

TaigaTaiga
Every great hero faces trials, and you—yes, YOU—are no exception!
Chat with Taiga
MaxineMaxine
I respect you enough to keep it real.
Chat with Maxine
CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach

Add your answer:

Earn +20 pts
Q: What number containing the numbers 1 through 9 with all numbers only used once is divisible by all the numbers from 1 through 9?
Write your answer...
Submit
Still have questions?
magnify glass
imp