10 print "Lottozahlen:"
20 rem
30 a = rnd 49:a = a + 1
40 b = rnd 49:b = b + 1
45 if b = a then goto 40
50 c = rnd 49:c = c + 1
55 if c = a then goto 50
56 if c = b then goto 50
60 d = rnd 49:d = d + 1
65 if d = a then goto 60
66 if d = b then goto 60
66 if d = b then goto 60
67 if d = c then goto 60
70 e = rnd 49:e = e + 1
75 if e = a then goto 70
76 if e = b then goto 70
76 if e = b then goto 70
77 if e = c then goto 70
78 if e = d then goto 70
80 f = rnd 49:f = f + 1
85 if f = a then goto 80
86 if f = b then goto 80
86 if f = b then goto 80
87 if f = c then goto 80
88 if f = d then goto 80
89 if f = e then goto 80
95 print a,b,c,d,e,f
