From e142ca0a1f1cb92638aed3ab729c25b2ed2ab006 Mon Sep 17 00:00:00 2001 From: KatherineJF Date: Tue, 7 Aug 2018 11:50:00 -0700 Subject: [PATCH] Create randomneu --- randomneu | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 randomneu diff --git a/randomneu b/randomneu new file mode 100644 index 0000000..d98dbb1 --- /dev/null +++ b/randomneu @@ -0,0 +1,11 @@ +#Random Menu Genarator Katherine Fitzpatrick + +adjective = ["funky", "spicy", "stinky", "peppered", "sweet", "salty", "tangy", "medium", "bitter", "sour"] +cookingstyle = ["boiled", "fried", "roasted", "toasted", "broiled", "deep-fried", "oven-roasted", "curried", "fermented", "pan-fried"] +food = ["dumplings", "eggs", "goat", "peanuts", "rice", "avacado", "orange", "beets", "fries", "quince"] +i = 1 + +while i < 11 + puts i.to_s + " " + "#{adjective[rand(1...adjective.length)]}" + " " + "#{cookingstyle[rand(1...cookingstyle.length)]}" + " " + "#{food[rand(1...food.length)]}" + i +=1 +end