#Write a program that outputs the factorial of the numbers 5, 6, 7, and 8.

#will not use recursion or loops for now
fact5 = 1*2*3*4*5
fact6 = fact5*6
fact7 = fact6*7
fact8 = fact7*8

puts "factorial of 5 is #{fact5}"
puts "factorial of 5 is #{fact6}"
puts "factorial of 5 is #{fact7}"
puts "factorial of 5 is #{fact8}"


