home *** CD-ROM | disk | FTP | other *** search
- 10 poke53281,0:poke53280,11:printchr$(30)chr$(142)
- 20 print:a=-1:poke198,0:input" fakultaet von ";a:ifa<0ora><int(a)then20
- 30 ti$="000000":t1=ti:f$=str$(a)+"! ="
- 40 c=1:print:ifa<34thenford=1toa:c=c*d:next:printf$c:goto100
- 60 b=1e30:ford=1toa:c=c*d:ifc>bthenc=c/b:e=e+30
- 70 next
- 80 ifc>10thenc=c/10:e=e+1:goto80
- 90 printf$str$(c)"e+"mid$(str$(e),2)
- 100 t2=ti:print:print(t2-t1)/60"sek. rechenzeit."
- 110 rem (c) 1992 by g. siegel
-