implicit none integer :: i, f, Factorial print*, 'type in the number, integer only' read*, i do while(i<0) print*, 'factorial only defined for positive integers: Re-input' read*, i enddo f=Factorial(i) print*, 'answer is', f
end
error!
WARNING the following symbols are missing: FACTORIAL C:\project2\lgotemp@.obj (C:\PROJECT2\FUNCTION2.F95) Creating executable: C:\project2\function2.EXE
pls help, can't figure out the problem. thanks