Answers

2015-07-28T20:11:31+05:30

This Is a Certified Answer

×
Certified answers contain reliable, trustworthy information vouched for by a hand-picked team of experts. Brainly has millions of high quality answers, all of them carefully moderated by our most trusted community members, but certified answers are the finest of the finest.
Program factorial

F : integer  --- factorial value
n  : input number
k  :  local variable

F = 1
read  n
k = n
while  k > 0   do
begin
         F = F * k
         k =  k - 1
end do

print  "value of  factorial of " ,  n , " is "  , F

end program

1 5 1