5 lines
75 B
QBasic
5 lines
75 B
QBasic
|
10 def fna(x)
|
||
|
20 if x=0 then r=1 else r=x*fna(x-1)
|
||
|
30 =r
|
||
|
40 print fna(7)
|