Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Sub losowanie()
- Dim a As Integer, b As Integer, liczba As Integer, i As Integer
- a = InputBox("Podaj początek przedziału")
- b = InputBox("Podaj koniec przedziału")
- liczba = a + Int(Rnd * (b - a + 1))
- MsgBox liczba
- End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement