vb:
func fn(n as integer)
dim m=1
for i=1 to n
m=m*i
next
return m
end func
c/java:
function fn(int n){
int m=1;
for (int i=1;i
vb:
func fn(n as integer)
dim m=1
for i=1 to n
m=m*i
next
return m
end func
c/java:
function fn(int n){
int m=1;
for (int i=1;i