A program in visual basic to find factorial of a number using function.

 

 

 

 

  Output :