Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  Factorial.f
Language: FORTRAN
Code:
     integer n,k
     k=1
     write (*,*) 'Enter an integer: '
     read (*,*) n
     do 10 i=1,n
     10 k=k*i
     write (*,*) 'Factorial of ',n,'is ',k
     stop
     end     
Comments: