7.6k views
3 votes
Write down a program in SNOBOL thatcalculates the factorial of 7.

1 Answer

3 votes

Answer:

n = f = 7

loop f = gt(n,1) f * (n = n - 1) :s(loop)

output = f

end

Step-by-step explanation:

User Xernox
by
5.0k points